summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
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 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: