aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--translate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.py b/translate.py
index 28c61c6..cdc4086 100644
--- a/translate.py
+++ b/translate.py
@@ -19,7 +19,7 @@ for l in ["en", lang]:
line = line.strip()
if line == "[hurrycurry]": continue
if line == "": continue
- key, value = line.split("=")
+ key, value = line.split("=", 1)
trmap[key.strip()] = value.strip().replace("<","&lt;").replace(">","&gt;")
s = open("index_template.html").read()