summaryrefslogtreecommitdiffstats
path: root/locale/generate_locale.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-28 17:06:55 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-28 17:06:55 +0200
commit3fe887026d035422a01a8bf5c76686370ed58dd5 (patch)
tree6db7e571acfc2241d128b4aa81dd5f5081cb38b6 /locale/generate_locale.py
parentchange password in webif (diff)
downloadpyload-3fe887026d035422a01a8bf5c76686370ed58dd5.tar.xz
fix dlc, new cli functions, new locale
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 cc2a064a6..d519ca35f 100644
--- a/locale/generate_locale.py
+++ b/locale/generate_locale.py
@@ -73,7 +73,6 @@ print "Generate cli.pot"
f = open("includes.txt", "wb")
f.write("./pyLoadCli.py\n")
-f.close()
for path, dir, filenames in walk("./module/cli"):
if [True for x in EXCLUDE if x in path]: continue
@@ -81,6 +80,7 @@ for path, dir, filenames in walk("./module/cli"):
if file.endswith(".py") and file not in EXCLUDE:
f.write(join(path, file) + "\n")
+f.close()
call(["xgettext", "--files-from=includes.txt", "--default-domain=cli"] + options)