1
0
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:
Ilya Kreymer 2017-02-27 22:13:59 -08:00
parent a4b770d34e
commit 114ef2a637

View File

@ -110,7 +110,7 @@ class AutoConfigApp(ResAggApp):
try:
return os.listdir(self.root_dir)
except IOError:
except (IOError, OSError):
return []
def load_colls(self):