summaryrefslogtreecommitdiffstats
path: root/locale/generate_locale.py
diff options
context:
space:
mode:
Diffstat (limited to 'locale/generate_locale.py')
-rw-r--r--locale/generate_locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/generate_locale.py b/locale/generate_locale.py
index 0b18b1ad8..e972374ee 100644
--- a/locale/generate_locale.py
+++ b/locale/generate_locale.py
@@ -14,7 +14,7 @@ def po2pot(name):
f = open("%s.po" % name, "rb")
content = f.read()
f.close()
- remove("core.po")
+ remove("%s.po" % name)
content = content.replace("charset=CHARSET", "charset=UTF-8")
f = open("locale/%s.pot" % name, "wb")