trestore initial indentation - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 826c44e5000488e9ba6b1bb9003794f0710f6cc5
DIR parent 142b5532ec8230d0791451d254b440d0b390b28a
HTML Author: ThomasV <thomasv@electrum.org>
Date: Wed, 28 Oct 2015 11:13:45 +0100
restore initial indentation
Diffstat:
M electrum | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
DIR diff --git a/electrum b/electrum
t@@ -173,13 +173,13 @@ 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
+ 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
# notify plugins
always_hook('cmdline_load_wallet', wallet)