diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-28 17:06:55 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-28 17:06:55 +0200 |
commit | 3fe887026d035422a01a8bf5c76686370ed58dd5 (patch) | |
tree | 6db7e571acfc2241d128b4aa81dd5f5081cb38b6 /locale/generate_locale.py | |
parent | change password in webif (diff) | |
download | pyload-3fe887026d035422a01a8bf5c76686370ed58dd5.tar.xz |
fix dlc, new cli functions, new locale
Diffstat (limited to 'locale/generate_locale.py')
-rw-r--r-- | locale/generate_locale.py | 2 |
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) |