diff options
author | Calum Lind <calumlind@gmail.com> | 2016-11-16 22:18:18 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-11-17 12:19:41 +0000 |
commit | 36cbfa8c618f86bcb6c08c52095be83c10c976a3 (patch) | |
tree | 6a6893d2f991b86953c181b0e348528b1347a411 /gen_web_gettext.py | |
parent | 2657cc39218d6ec3b5a7b5f9a462a8262e7404d5 (diff) | |
download | deluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.tar.gz deluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.tar.bz2 deluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.zip |
[Lint] Fix files to pass Flake8 v3.2.0
Diffstat (limited to 'gen_web_gettext.py')
-rwxr-xr-x | gen_web_gettext.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gen_web_gettext.py b/gen_web_gettext.py index 71ea0b82d..c143b90da 100755 --- a/gen_web_gettext.py +++ b/gen_web_gettext.py @@ -95,6 +95,7 @@ def create_gettext_js(js_dir): fp.write('''GetText.add('%(key)s','${escape(_("%(key)s"))}')\n''' % locals()) return gettext_file + if __name__ == '__main__': gettext_fname = create_gettext_js(WEBUI_JS_DIR) print('Created: %s' % gettext_fname) |