mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
autoapp: add OSError for py2.7
This commit is contained in:
parent
a4b770d34e
commit
114ef2a637
@ -110,7 +110,7 @@ class AutoConfigApp(ResAggApp):
|
||||
|
||||
try:
|
||||
return os.listdir(self.root_dir)
|
||||
except IOError:
|
||||
except (IOError, OSError):
|
||||
return []
|
||||
|
||||
def load_colls(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user