1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 19:08:07 +00:00

Added debug printing

This commit is contained in:
slush0 2014-02-20 16:01:17 +01:00
parent b6a280c380
commit 6e90d5763e

View File

@ -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()