summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/plugins/Plugin.py2
-rw-r--r--module/setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 1f680032a..8049da33f 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -255,7 +255,7 @@ class Plugin(object):
download_folder = self.config['general']['download_folder']
- location = join(download_folder, self.pyfile.package().folder.decode(sys.getfilesystemencoding().replace(":", ""))) # remove : for win compability
+ location = join(download_folder, self.pyfile.package().folder.decode(sys.getfilesystemencoding()).replace(":", "")) # remove : for win compability
if not exists(location):
makedirs(location)
diff --git a/module/setup.py b/module/setup.py
index c1f449be4..937d7d91d 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -48,7 +48,7 @@ class Setup():
lang = self.ask("Choose your Language / Wähle deine Sprache", "en", ["en", "de"])
translation = gettext.translation("setup", join(self.path, "locale"), languages=[lang])
- translation.install(unicode=(True if sys.getfilesystemencoding().startswith("utf") else False))
+ translation.install(True)
print ""
print _("Welcome to the pyLoad Configuration Assistent.")