ctl: open zip file in binary mode (#36515)
This commit is contained in:
parent
7a446f5c88
commit
78084aa023
|
@ -48,5 +48,5 @@ class Command(TenantCommand):
|
|||
if if_empty and not is_empty:
|
||||
return
|
||||
|
||||
publisher.import_zip(open(filename, 'r'))
|
||||
publisher.import_zip(open(filename, 'rb'))
|
||||
publisher.cleanup()
|
||||
|
|
Loading…
Reference in New Issue