tfix android seed dialog if password is empty - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c427e085b3d193723c49432c187d7d3704f2660d DIR parent 8a495f4071f6158968f4a0e5188ceba169217cd7 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 26 Feb 2015 12:38:29 +0100 fix android seed dialog if password is empty Diffstat: M gui/android.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/android.py b/gui/android.py t@@ -916,6 +916,9 @@ class ElectrumGui: if password != password2: modal_dialog('Error','passwords do not match') exit() + else: + # set to None if it's an empty string + password = None if action == 'create': wallet = Wallet(storage) t@@ -1002,7 +1005,7 @@ class ElectrumGui: else: return else: - m = modal_input('Mnemonic','please enter your code') + seed = modal_input('Mnemonic', 'please enter your code') return str(seed)