commit 69756422271ad06e3d3592eb7002c60927f77704
parent 3467bd0101c664c9dd39e85a3f882ebd5ed04c6f
Author: ThomasV <thomasv@gitorious>
Date: Fri, 13 Dec 2013 06:29:51 +0100
fix #492
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -275,7 +275,10 @@ if __name__ == '__main__':
# commands needing password
if cmd.requires_password:
- if wallet.use_encryption:
+ if wallet.seed == '':
+ seed = ''
+ password = None
+ elif wallet.use_encryption:
password = prompt_password('Password:', False)
if not password:
print_msg("Error: Password required")