tminor fix: always initialize Commands.lnworker - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e5286f7598d0fb0784bd54529e051a679642f764 DIR parent 5e0427392f941b957f609875363c850d15f2d75c HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 15 Aug 2019 15:11:15 +0200 minor fix: always initialize Commands.lnworker Diffstat: M electrum/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/electrum/commands.py b/electrum/commands.py t@@ -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."""