0

Fixed this

This commit is contained in:
Andrew Brown
2010-09-26 23:29:06 -04:00
parent 458870510c
commit 58202bd779

View File

@@ -64,10 +64,10 @@ def _find_file(filename, mode="rb"):
for jarpath in jarpaths:
if os.path.exists(jarpath):
jar = zipfile.ZipFile(jarpath)
try:
jar = zipfile.ZipFile(jarpath)
return jar.open(filename)
except KeyError:
except (KeyError, IOError):
pass
path = filename