summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-05 22:08:48 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-05 22:08:48 +0100
commitb4aa60892fb60efd57f593006f35f94868a646da (patch)
tree20e3dc3d8487269c5167e5cc73dabcd8261a4826 /pyLoadCli.py
parentfixed gui config error (diff)
downloadpyload-b4aa60892fb60efd57f593006f35f94868a646da.tar.xz
FlashGot + ClickNLoad Support + Webif. improvm.!! pyLoad FTW !!
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 9b65bf2b3..03a44cc02 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -431,7 +431,7 @@ if __name__ == "__main__":
config = xmlconfig.getConfig()
translation = gettext.translation("pyLoadCli", join(abspath(dirname(__file__)), "locale"), languages=[config['general']['language']])
- translation.install(unicode=False if sys.getdefaultencoding() == "ascii" else True)
+ translation.install(unicode=(False if sys.stdout.encoding == "ascii" else True))
if len(sys.argv) > 1: