summaryrefslogtreecommitdiffstats
path: root/pyload/config
diff options
context:
space:
mode:
authorGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-05 14:13:00 +0200
committerGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-05 14:13:00 +0200
commit0d41aec246eb110cc33c966fad7227177e7e5190 (patch)
treed74b3c5b0ff04eee5361d00084b07c608e3bcd34 /pyload/config
parentfix gui (diff)
downloadpyload-0d41aec246eb110cc33c966fad7227177e7e5190.tar.xz
fix setup
Diffstat (limited to 'pyload/config')
-rw-r--r--pyload/config/Setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/config/Setup.py b/pyload/config/Setup.py
index 081184652..835a2978b 100644
--- a/pyload/config/Setup.py
+++ b/pyload/config/Setup.py
@@ -506,8 +506,8 @@ class SetupAssistant(object):
pwlen = 8
while p1 != p2:
sys.stdout.write(_("Password: "))
- p1 = getpass("")
-
+ p1 = getpass("").strip("\n\r")
+ print("passwd:'%s'" % p1)
if len(p1) < pwlen:
print _("Password too short! Use at least %s symbols." % pwlen)
continue
@@ -516,7 +516,7 @@ class SetupAssistant(object):
continue
sys.stdout.write(_("Password (again): "))
- p2 = getpass("")
+ p2 = getpass("").strip("\n\r")
if p1 == p2:
return p1