mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
scripts/minimaws: Fixed last-minute change to zipfile use. (#11028)
This commit is contained in:
parent
3b62566cc9
commit
6c28bd93ba
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class _Identifier(object):
|
|||
if os.path.splitext(path)[1].lower() != '.chd':
|
||||
if zipfile.is_zipfile(path):
|
||||
with zipfile.ZipFile(path, 'r') as zip:
|
||||
for info in zip.namelist():
|
||||
for info in zip.infolist():
|
||||
if info.filename[-1] != '/':
|
||||
with zip.open(info, mode='r') as f:
|
||||
self.processRomFile(path + '/' + info.filename, f)
|
||||
|
|
Loading…
Reference in a new issue