commit 8bb841787e0e204561bbfa0b529b3b2f6c6d1ca3
parent 1829d20d720ad6f20d0d62fcd52fc467aa0b6aa5
Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 19 Aug 2012 17:17:47 -0700
got rid of another unneeded print_error()
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/electrum b/electrum
@@ -223,8 +223,7 @@ if __name__ == '__main__':
print_error("Warning: Not hex, trying decode.")
seed = mnemonic.mn_decode( seed.split(' ') )
if not seed:
- print_error("Error: No seed")
- sys.exit(1)
+ sys.exit("Error: No seed")
wallet.seed = str(seed)
wallet.init_mpk( wallet.seed )