mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
minor fix: always initialize Commands.lnworker
This commit is contained in:
parent
5e0427392f
commit
e5286f7598
1 changed files with 1 additions and 2 deletions
|
@ -110,8 +110,7 @@ class Commands:
|
|||
self.wallet = wallet
|
||||
self.network = network
|
||||
self._callback = callback
|
||||
if self.wallet:
|
||||
self.lnworker = self.wallet.lnworker
|
||||
self.lnworker = self.wallet.lnworker if self.wallet else None
|
||||
|
||||
def _run(self, method, args, password_getter, **kwargs):
|
||||
"""This wrapper is called from the Qt python console."""
|
||||
|
|
Loading…
Add table
Reference in a new issue