From c83d21ce34e3e82cbeecf181613fb7149b7267dc Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Tue, 2 Apr 2024 17:09:38 +0200 Subject: [PATCH] Clean handle_thp_session --- core/src/trezor/wire/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/src/trezor/wire/__init__.py b/core/src/trezor/wire/__init__.py index 02c414117..c6cea0b31 100644 --- a/core/src/trezor/wire/__init__.py +++ b/core/src/trezor/wire/__init__.py @@ -103,13 +103,6 @@ async def handle_thp_session(iface: WireInterface, is_debug_session: bool = Fals thp_v1.set_buffer(ctx_buffer) - if __debug__ and is_debug_session: - import apps.debug - - print(apps.debug.DEBUG_CONTEXT) # TODO remove - - # TODO add debug context or smth to apps.debug - # Take a mark of modules that are imported at this point, so we can # roll back and un-import any others. modules = utils.unimport_begin()