diff --git a/trezorlib/client.py b/trezorlib/client.py index 86f6d1409..dfa356d91 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -47,7 +47,7 @@ def pprint(msg): if isinstance(msg, proto.FirmwareUpload): return "<%s> (%d bytes):\n" % (msg_class, msg_size) else: - return "<%s> (%d bytes):\n%s" % (msg_class, msg_size, '#FIXME') # msg) + return "<%s> (%d bytes):\n%s" % (msg_class, msg_size, msg) def log(msg): sys.stderr.write("%s\n" % msg) diff --git a/trezorlib/debuglink.py b/trezorlib/debuglink.py index 1f208459e..a9cbff340 100644 --- a/trezorlib/debuglink.py +++ b/trezorlib/debuglink.py @@ -8,7 +8,7 @@ def button_press(yes_no): print("User pressed", '"y"' if yes_no else '"n"') def pprint(msg): - return "<%s> (%d bytes):\n%s" % (msg.__class__.__name__, msg.ByteSize(), '#FIXME') # msg)) + return "<%s> (%d bytes):\n%s" % (msg.__class__.__name__, msg.ByteSize(), msg) class DebugLink(object): def __init__(self, transport, pin_func=pin_info, button_func=button_press):