fix typo: stdio gui with no wallet
same as https://github.com/spesmilo/electrum/pull/3223 - should have been included there
This commit is contained in:
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user