diff options
Diffstat (limited to 'po/compile.py')
-rwxr-xr-x | po/compile.py | 4 |
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): | |||
101 | def compile_string(msg_id, msg_str): | 101 | def 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 | |||
106 | os.chdir(os.path.dirname(__file__)) | ||
105 | 107 | ||
106 | if MODE == 'compile': | 108 | if MODE == 'compile': |
107 | BASE_STRINGS = {} | 109 | BASE_STRINGS = {} |