summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-09-06 22:13:12 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-09-06 22:13:12 +0200
commit6248ce2cbeffe0583f37f1a277c0505ffaefdd57 (patch)
tree61fe9453be082314ac1d40fc95017a4a0275fa24
parentAdded tag v0.4.1 for changeset 172b7ac22ba8 (diff)
parentgetpass locale fix (diff)
downloadpyload-6248ce2cbeffe0583f37f1a277c0505ffaefdd57.tar.xz
merge
-rw-r--r--module/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/setup.py b/module/setup.py
index 645089a55..21bf5341d 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -418,7 +418,7 @@ class Setup():
else:
qst = _("Password: ")
- p1 = getpass(qst)
+ p1 = getpass(qst.encode("utf-8"))
if len(p1) < 4:
print _("Password to short. Use at least 4 symbols.")
@@ -429,7 +429,7 @@ class Setup():
else:
qst = _("Password (again): ")
- p2 = getpass(qst)
+ p2 = getpass(qst.encode("utf-8"))
if p1 == p2:
return p1