summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-03 17:33:28 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-03 17:33:28 +0100
commit570da31e3a030b25e84721348fe14b362c7eb513 (patch)
tree13b2cc040d2e92df8edb81f326cb78aaaaf5da35 /pyLoadCli.py
parentsome l18n stuff (diff)
downloadpyload-570da31e3a030b25e84721348fe14b362c7eb513.tar.xz
l18n fixes
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 1989163c2..99d121d02 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
-#Copyright (C) 2009 RaNaN
+#Copyright (C) 2010 RaNaN
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
@@ -430,7 +430,7 @@ if __name__ == "__main__":
xmlconfig = XMLConfigParser(join(abspath(dirname(__file__)), "module", "config", "core.xml"))
config = xmlconfig.getConfig()
- translation = gettext.translation("pyLoad", join(abspath(dirname(__file__)), "locale"), languages=[config['general']['language']])
+ translation = gettext.translation("pyLoadCli", join(abspath(dirname(__file__)), "locale"), languages=[config['general']['language']])
translation.install(unicode=True)
if len(sys.argv) > 1:
@@ -441,9 +441,7 @@ if __name__ == "__main__":
opts, extraparams = __import__("getopt").getopt(sys.argv[1:], shortOptions, longOptions)
for option, params in opts:
if option in ("-l", "--local"):
-
-
-
+
ssl = ""
if config['ssl']['activated'] == "True":
ssl = "s"