summaryrefslogtreecommitdiff
path: root/lib/inx/utils.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-08-24 15:34:08 -0400
committerGitHub <noreply@github.com>2018-08-24 15:34:08 -0400
commitb3bb975401fe4971170239eea9b928ee13161398 (patch)
treed50e49a5808101bc5270a6eb43ed5fe69f197e67 /lib/inx/utils.py
parent27c8bcc370594d93e7d826708e4761af0da503d7 (diff)
parent2fd6cb4a71daa55c93a56ee4387117a10b762c6b (diff)
Merge pull request #292 from inkstitch/lexelby/pes-fixes
pes fixes
Diffstat (limited to 'lib/inx/utils.py')
-rw-r--r--lib/inx/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inx/utils.py b/lib/inx/utils.py
index 6103f360..7c471276 100644
--- a/lib/inx/utils.py
+++ b/lib/inx/utils.py
@@ -28,7 +28,7 @@ def build_environment():
def write_inx_file(name, contents):
inx_file_name = "inkstitch_%s_%s.inx" % (name, current_locale)
with open(os.path.join(inx_path, inx_file_name), 'w') as inx_file:
- print >> inx_file, contents
+ print >> inx_file, contents.encode("utf-8")
def iterate_inx_locales():
global current_translation, current_locale