1
0

Remove some unused hook infrastructure

This commit is contained in:
Neil Booth
2016-01-01 19:15:01 +09:00
parent 2f58d419dc
commit d63e754c67
3 changed files with 3 additions and 16 deletions

View File

@@ -1,6 +1,5 @@
from legder import LedgerPlugin
from electrum.util import print_msg
from electrum.plugins import hook
class BTChipCmdLineHandler:
def stop(self):
@@ -18,8 +17,4 @@ class BTChipCmdLineHandler:
return response
class Plugin(LedgerPlugin):
@hook
def cmdline_load_wallet(self, wallet):
wallet.plugin = self
if self.handler is None:
self.handler = BTChipCmdLineHandler()
handler = BTChipCmdLineHandler()