commit fc2b6b032894e0cab99045e1886ae7b1b85e46e6 parent 889eb101ffc637c1ccf4c91ad8a57feeb671b6bf Author: thomasv <thomasv@gitorious> Date: Tue, 20 Dec 2011 16:04:26 +0100 fix: password is not None Diffstat:
M | client/electrum.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/electrum.py b/client/electrum.py @@ -628,7 +628,7 @@ class Wallet: return s def pw_decode(self, s, password): - if password: + if password is not None: secret = Hash(password) d = DecodeAES(secret, s) if s == self.seed: