tfollow up c6a46df15887736969c7a7a448c76f9a9ed0c21e - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 59825c913c31cd2fccbe8ed3b034d9aa795c35be DIR parent c6a46df15887736969c7a7a448c76f9a9ed0c21e HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 1 Jul 2016 17:32:13 +0200 follow up c6a46df15887736969c7a7a448c76f9a9ed0c21e Diffstat: M lib/wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1107,7 +1107,8 @@ class Abstract_Wallet(PrintError): tx.sign(keypairs) def update_password(self, old_password, new_password): - self.check_password(old_password) + if old_password is not None: + self.check_password(old_password) if new_password == '': new_password = None