mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
rar namelist fix
This commit is contained in:
parent
f78ff2f10c
commit
d52c7cc669
1 changed files with 1 additions and 2 deletions
|
@ -132,8 +132,7 @@ class Archive():
|
|||
namelist = [os.path.basename(self.file)]
|
||||
elif self.filetype == RAR:
|
||||
if HAS_RAR:
|
||||
for filename in self.fd.infoiter():
|
||||
namelist.append(filename.filename)
|
||||
namelist = [name.filename for name in self.fd.infoiter()]
|
||||
elif RAR_CMD:
|
||||
namelist = self.fd.namelist
|
||||
elif self.filetype == LZMA:
|
||||
|
|
Loading…
Add table
Reference in a new issue