tMerge pull request #683 from atweiden/empty-seed-error-msg-fix - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7dc4102e7db39489fa986afb6b2b31f5de584dfb DIR parent 370bdbe85559f3cd20808e684cd0919b9ab6a6a4 HTML Author: ThomasV <thomasv1@gmx.de> Date: Thu, 8 May 2014 09:14:01 +0200 Merge pull request #683 from atweiden/empty-seed-error-msg-fix empty seed error msg Diffstat: M electrum | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum b/electrum t@@ -250,6 +250,8 @@ if __name__ == '__main__': else: import getpass seed = getpass.getpass(prompt="seed:", stream=None) if options.concealed else raw_input("seed:") + if not seed: + sys.exit("Error: Seed cannot be empty") wallet = Wallet.from_seed(str(seed),storage) if not wallet: sys.exit("Error: Invalid seed")