summaryrefslogtreecommitdiff
path: root/po/compile.py
diff options
context:
space:
mode:
Diffstat (limited to 'po/compile.py')
-rwxr-xr-xpo/compile.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/po/compile.py b/po/compile.py
index 178342a6..2b0273b6 100755
--- a/po/compile.py
+++ b/po/compile.py
@@ -101,7 +101,9 @@ def parse_po(src):
101def compile_string(msg_id, msg_str): 101def compile_string(msg_id, msg_str):
102 return msg_id.encode('utf-8') + bytes([0]) + \ 102 return msg_id.encode('utf-8') + bytes([0]) + \
103 msg_str.encode('utf-8') + bytes([0]) 103 msg_str.encode('utf-8') + bytes([0])
104 104
105
106os.chdir(os.path.dirname(__file__))
105 107
106if MODE == 'compile': 108if MODE == 'compile':
107 BASE_STRINGS = {} 109 BASE_STRINGS = {}