diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-02-04 16:17:22 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-02-04 16:17:22 +0100 |
commit | 52cf3751b2fe74aa5029f4b605b91aa84d9cf914 (patch) | |
tree | 30c636bb7ced6549e0aa4c9c46ae5aa8748f5a10 /pyLoadCli.py | |
parent | better DLC Support for Python 2.5 and 2.6 (diff) | |
download | pyload-52cf3751b2fe74aa5029f4b605b91aa84d9cf914.tar.xz |
little fixes, closed #71
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-x | pyLoadCli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py index be84e0349..9b65bf2b3 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=True) + translation.install(unicode=False if sys.getdefaultencoding() == "ascii" else True) if len(sys.argv) > 1: |