mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-26 23:13:25 +00:00
wizard restore: abort if wallet is None
This commit is contained in:
parent
81d1e67253
commit
448d2eb548
1 changed files with 2 additions and 0 deletions
|
@ -546,6 +546,8 @@ class InstallWizard(QDialog):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
wallet = run_hook('installwizard_restore', self, self.storage)
|
wallet = run_hook('installwizard_restore', self, self.storage)
|
||||||
|
if not wallet:
|
||||||
|
return
|
||||||
|
|
||||||
# create first keys offline
|
# create first keys offline
|
||||||
self.waiting_dialog(wallet.synchronize)
|
self.waiting_dialog(wallet.synchronize)
|
||||||
|
|
Loading…
Add table
Reference in a new issue