mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Handling non-numeric ports in icon fetching.
This commit is contained in:
parent
470af9fa19
commit
5927f857b2
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class IconImporter(object):
|
|||
return image, icon_file
|
||||
try:
|
||||
image, icon_file = _1(url)
|
||||
except (urllib2.HTTPError, urllib2.URLError, urllib2.InvalidURL, IOError, TimeoutError, ValueError):
|
||||
except (urllib2.HTTPError, urllib2.URLError, IOError, TimeoutError, ValueError):
|
||||
return None, None
|
||||
return image, icon_file
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue