Merge branch 'fix-urllib_read' into develop
This commit is contained in:
commit
5e71f58b83
|
@ -13,7 +13,7 @@ def urllib_read(url):
|
||||||
import urllib2
|
import urllib2
|
||||||
try:
|
try:
|
||||||
return urllib2.urlopen(url, timeout=5).read()
|
return urllib2.urlopen(url, timeout=5).read()
|
||||||
except urllib2.HTTPError:
|
except:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue