Commit 223102cf authored by Michal Čihař's avatar Michal Čihař

Need to open file as binary here

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 70853dbc
...@@ -64,7 +64,7 @@ class Command(WeblateTranslationCommand): ...@@ -64,7 +64,7 @@ class Command(WeblateTranslationCommand):
# Process import # Process import
try: try:
with open(args[3], 'r') as handle: with open(args[3], 'rb') as handle:
translation.merge_upload( translation.merge_upload(
request, handle, False, method='suggest', request, handle, False, method='suggest',
author=get_author_name(user), author=get_author_name(user),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment