ctl: open zip file in binary mode (#36515)

This commit is contained in:
Frédéric Péters 2019-11-16 15:48:39 +01:00
parent 7a446f5c88
commit 78084aa023
1 changed files with 1 additions and 1 deletions

View File

@ -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()