Fix write mode for ZipFiles ('wb' is invalid!)
This commit is contained in:
parent
431d8c9a8f
commit
e9b85326a6
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ def main():
|
|||
successes.append(path)
|
||||
|
||||
elif compression == 'zip':
|
||||
archive = zipfile.ZipFile(creates, 'wb')
|
||||
archive = zipfile.ZipFile(creates, 'w')
|
||||
|
||||
for path in archive_paths:
|
||||
archive.write(path, path[len(arcroot):])
|
||||
|
|
Loading…
Reference in a new issue