commit 4e60cedea9c295b2c2fa62b94d20eba3c515e5d9
parent 38e3143bd0472948b52ab27f579aa3224de5b6fd
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 7 Dec 2017 00:27:25 +0100
fix dbb cli
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/digitalbitbox/cmdline.py b/plugins/digitalbitbox/cmdline.py
@@ -1,3 +1,4 @@
+from electrum.plugins import hook
from .digitalbitbox import DigitalBitboxPlugin
from ..hw_wallet import CmdLineHandler
diff --git a/plugins/hw_wallet/cmdline.py b/plugins/hw_wallet/cmdline.py
@@ -29,7 +29,7 @@ class CmdLineHandler:
def stop(self):
pass
- def show_message(self, msg, on_cancel):
+ def show_message(self, msg, on_cancel=None):
print_msg(msg)
def update_status(self, b):