From 6e90d5763eada46d09a473b01fe199368b987b70 Mon Sep 17 00:00:00 2001 From: slush0 Date: Thu, 20 Feb 2014 16:01:17 +0100 Subject: [PATCH] Added debug printing --- trezorlib/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trezorlib/client.py b/trezorlib/client.py index 7531035ec..67b6fb573 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -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()