Browse Source

fix typo: stdio gui with no wallet

same as https://github.com/spesmilo/electrum/pull/3223 - should have been included there
patch-4
SomberNight 3 years ago
parent
commit
fbb3491e97
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/stdio.py

2
electrum/gui/stdio.py

@ -26,7 +26,7 @@ class ElectrumGui(BaseElectrumGui):
BaseElectrumGui.__init__(self, config=config, daemon=daemon, plugins=plugins) BaseElectrumGui.__init__(self, config=config, daemon=daemon, plugins=plugins)
self.network = daemon.network self.network = daemon.network
storage = WalletStorage(config.get_wallet_path()) storage = WalletStorage(config.get_wallet_path())
if not storage.file_exists: if not storage.file_exists():
print("Wallet not found. try 'electrum create'") print("Wallet not found. try 'electrum create'")
exit() exit()
if storage.is_encrypted(): if storage.is_encrypted():

Loading…
Cancel
Save