mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
Added debug printing
This commit is contained in:
parent
b6a280c380
commit
6e90d5763e
@ -63,10 +63,12 @@ class BaseClient(object):
|
||||
|
||||
def call_raw(self, msg):
|
||||
try:
|
||||
print "SENDING", pprint(msg)
|
||||
self.transport.session_begin()
|
||||
|
||||
self.transport.write(msg)
|
||||
resp = self.transport.read_blocking()
|
||||
print "RECEIVED", pprint(resp)
|
||||
|
||||
finally:
|
||||
self.transport.session_end()
|
||||
|
Loading…
Reference in New Issue
Block a user