mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +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:
|
try:
|
||||||
return os.listdir(self.root_dir)
|
return os.listdir(self.root_dir)
|
||||||
except IOError:
|
except (IOError, OSError):
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def load_colls(self):
|
def load_colls(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user