diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2014-03-26 11:08:22 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2014-03-26 11:11:24 +0100 |
commit | cc214943a5e50ae1ace9df0c10bce2274c567cd4 (patch) | |
tree | d30784905512b9333a413eb9808967d5599ba846 /crawl-ref/source/util | |
parent | f8746589b9169f6ada057067697a7e4a748094ac (diff) | |
download | crawl-ref-cc214943a5e50ae1ace9df0c10bce2274c567cd4.tar.gz crawl-ref-cc214943a5e50ae1ace9df0c10bce2274c567cd4.zip |
Fix double backslash in files pulled from transifex.
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-x | crawl-ref/source/util/txc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/txc b/crawl-ref/source/util/txc index 1aac81bd1e..6b1dcdba09 100755 --- a/crawl-ref/source/util/txc +++ b/crawl-ref/source/util/txc @@ -870,7 +870,7 @@ class IniFile(ResourceFile): for line in ResourceFile.read_file(self): if not line or line[0] == '#' or line.find('=') == -1: continue (key, value) = line.split('=', 1) - self.entries[key] = value.replace('"', '"') + self.entries[key] = value.replace('"', '"').replace('\\\\', '\\') return len(self.entries) |