From 59825c913c31cd2fccbe8ed3b034d9aa795c35be Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 1 Jul 2016 17:32:13 +0200 Subject: [PATCH] follow up c6a46df15887736969c7a7a448c76f9a9ed0c21e --- lib/wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 67e6a2685..8c53c9f5c 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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