From c4e657c1efc0a994ef8f5a1e18e8a983364e771a Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Tue, 4 Feb 2025 01:19:02 +0100 Subject: [PATCH] persistence UI fix --- python/src/trezorlib/debuglink.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/src/trezorlib/debuglink.py b/python/src/trezorlib/debuglink.py index 3b99ac94b5..8cf304c13c 100644 --- a/python/src/trezorlib/debuglink.py +++ b/python/src/trezorlib/debuglink.py @@ -1325,7 +1325,9 @@ class TrezorClientDebugLink(TrezorClient): return self.debug.layout_type def get_new_client(self) -> TrezorClientDebugLink: - return TrezorClientDebugLink(self.transport, self.debug.allow_interactions) + new_client = TrezorClientDebugLink(self.transport, self.debug.allow_interactions) + new_client.debug.screenshot_recording_dir = self.debug.screenshot_recording_dir + return new_client def reset_debug_features(self, new_management_session: bool = False) -> None: """