commit 13527987bceebff06c2fd2a099d7449b2c7a6eee
parent 76bd120bdf2011de24b415204bdafd65478c2b22
Author: Janus <ysangkok@gmail.com>
Date: Wed, 21 Mar 2018 16:45:51 +0100
lightning: add missing import, set console to none initially
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/kivy/uix/dialogs/lightning_payer.py b/gui/kivy/uix/dialogs/lightning_payer.py
@@ -1,6 +1,7 @@
from kivy.lang import Builder
from kivy.factory import Factory
from electrum_gui.kivy.i18n import _
+import electrum.lightning as lightning
Builder.load_string('''
<LightningPayerDialog@Popup>
diff --git a/lib/lightning.py b/lib/lightning.py
@@ -601,6 +601,7 @@ class LightningRPC:
super(LightningRPC, self).__init__()
self.queue = queue.Queue()
self.subscribers = []
+ self.console = None
# overridden
async def run(self, netAndWalLock):
while asyncio.get_event_loop().is_running():