commit 5e677b0e972faacbb913be38b2e40ad19527ea03
parent 3b11b1d0ffaa9b711742f284001e2192d1c2f12b
Author: thomasv <thomasv@gitorious>
Date: Tue, 6 Dec 2011 10:39:18 +0100
fix create bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/electrum.py b/client/electrum.py
@@ -669,7 +669,7 @@ if __name__ == '__main__':
wallet.save()
sys.exit(0)
- if not wallet.read() and cmd != 'help':
+ if not wallet.read() and cmd not in ['help','create']:
print "Wallet file not found."
print "Type 'electrum.py create' to create a new wallet, or provide a path to a wallet with the -d option"
sys.exit(0)