def call_raw(self, msg): try: resp = BaseClient.call_raw(self, msg) except ConnectionError: self.bad = True raise return resp
def __init__(self, transport, ask_for_pin_fun, ask_for_pass_fun): trezor_ProtocolMixin.__init__(self, transport, ask_for_pin_fun, ask_for_pass_fun) MyTrezorTextUIMixin.__init__(self, transport, ask_for_pin_fun, ask_for_pass_fun) trezor_BaseClient.__init__(self, transport)
def __init__(self, transport, handler, plugin, hid_id): BaseClient.__init__(self, transport) ProtocolMixin.__init__(self, transport) TrezorClientBase.__init__(self, handler, plugin, hid_id, proto)
def __init__(self, transport, handler, plugin): BaseClient.__init__(self, transport=transport) ProtocolMixin.__init__(self, transport=transport) TrezorClientBase.__init__(self, handler, plugin, proto)