Revert change committed by mistake
This commit is contained in:
parent
7f731457c2
commit
ca0f28f5be
@ -85,10 +85,7 @@ class Bundle:
|
||||
if self._unpacked:
|
||||
path = os.path.join(self._path, filename)
|
||||
if os.path.isfile(path):
|
||||
try:
|
||||
file = open(path)
|
||||
except IOError:
|
||||
logging.info('Cannot read %s' % path)
|
||||
file = open(path)
|
||||
else:
|
||||
zip_file = zipfile.ZipFile(self._path)
|
||||
path = os.path.join(self._zip_root_dir, filename)
|
||||
|
Loading…
Reference in New Issue
Block a user