From 7eb4f038ad63ff10fb0af80ff571016373139825 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Fri, 24 Aug 2018 19:19:42 +0200 Subject: [PATCH] xmr: lite - black --- src/apps/monero/lite_protocol.py | 4 +--- src/apps/monero/protocol_lite/lite.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/apps/monero/lite_protocol.py b/src/apps/monero/lite_protocol.py index 002207d12..940534d0d 100644 --- a/src/apps/monero/lite_protocol.py +++ b/src/apps/monero/lite_protocol.py @@ -23,9 +23,7 @@ async def layout_lite_protocol(state, ctx, msg): log.debug( __name__, - "### Lite. Free: {} Allocated: {}".format( - gc.mem_free(), gc.mem_alloc() - ), + "### Lite. Free: {} Allocated: {}".format(gc.mem_free(), gc.mem_alloc()), ) gc.collect() diff --git a/src/apps/monero/protocol_lite/lite.py b/src/apps/monero/protocol_lite/lite.py index dea20dbd7..4258ec635 100644 --- a/src/apps/monero/protocol_lite/lite.py +++ b/src/apps/monero/protocol_lite/lite.py @@ -642,7 +642,7 @@ async def dispatch(self, ctx, ins, p1, p2, input): sw = 0x6F01 try: - log.debug(__name__, 'Ins: %s, %s %s', ins, p1, p2) + log.debug(__name__, "Ins: %s, %s %s", ins, p1, p2) sw = await self._sub_dispatch(ins, p1) except Exception as e: log.error(__name__, "Exception dispatching: %s", e)