Support utf8 filenames in zip
This commit is contained in:
parent
b9a5c94923
commit
8a15bf059d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ def openArchive(archive_path, path_within):
|
|||
archive = archive_cache[archive_path]
|
||||
|
||||
if archive_path.endswith(".zip"):
|
||||
return archive.open(path_within)
|
||||
return archive.open(path_within.decode("utf8"))
|
||||
else:
|
||||
return archive.extractfile(path_within)
|
||||
|
||||
|
|
Loading…
Reference in a new issue