tcmdline.py - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- tcmdline.py (401B) --- 1 from electrum.plugin import hook 2 from .keepkey import KeepKeyPlugin 3 from ..hw_wallet import CmdLineHandler 4 5 class Plugin(KeepKeyPlugin): 6 handler = CmdLineHandler() 7 @hook 8 def init_keystore(self, keystore): 9 if not isinstance(keystore, self.keystore_class): 10 return 11 keystore.handler = self.handler 12 13 def create_handler(self, window): 14 return self.handler