restore initial indentation
This commit is contained in:
parent
142b5532ec
commit
826c44e500
2
electrum
2
electrum
|
@ -173,11 +173,11 @@ def init_cmdline(config):
|
|||
print_msg("Wallet saved in '%s'" % wallet.storage.path)
|
||||
sys.exit(0)
|
||||
|
||||
else:
|
||||
if cmd.requires_wallet and not storage.file_exists:
|
||||
print_msg("Error: Wallet file not found.")
|
||||
print_msg("Type 'electrum create' to create a new wallet, or provide a path to a wallet with the -w option")
|
||||
sys.exit(0)
|
||||
|
||||
# create wallet instance
|
||||
wallet = Wallet(storage) if cmd.requires_wallet else None
|
||||
|
||||
|
|
Loading…
Reference in New Issue