summaryrefslogtreecommitdiff
path: root/chimere/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/utils.py')
-rw-r--r--chimere/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/utils.py b/chimere/utils.py
index 537562a..9398488 100644
--- a/chimere/utils.py
+++ b/chimere/utils.py
@@ -158,7 +158,7 @@ class ImportManager:
source = open(source)
except IOError, msg:
return (None, msg)
- except urllib2.URLError as error:
+ except (urllib2.URLError, AttributeError) as error:
return (None, error.message)
if self.importer_instance.zipped:
try: