Commit d85fd857 authored by Janez K's avatar Janez K
Browse files

utf-8 encoding pri pisanju fajla v export-package command

parent 656f6d60
......@@ -32,7 +32,7 @@ class Command(BaseCommand):
result = self.export_package_string(self.stdout.write, args[1:], options['newuid'], options['all'])
try:
f.write(result)
f.write(result.encode('utf-8'))
except:
raise CommandError('There was a problem with writing to the given output file')
......
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