fix #492
authorThomasV <thomasv@gitorious>
Fri, 13 Dec 2013 05:29:51 +0000 (06:29 +0100)
committerThomasV <thomasv@gitorious>
Fri, 13 Dec 2013 05:29:51 +0000 (06:29 +0100)
electrum

index f615d14..5b3710c 100755 (executable)
--- 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")