From 57ddb43a7ece04203da75b742188bf0e7b6667a0 Mon Sep 17 00:00:00 2001 From: grdddj Date: Mon, 4 Sep 2023 11:07:36 +0200 Subject: [PATCH] chore(python): change debug.model to internal_model [no changelog] --- python/src/trezorlib/debuglink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/src/trezorlib/debuglink.py b/python/src/trezorlib/debuglink.py index 1bfe72894b..6215d054a0 100644 --- a/python/src/trezorlib/debuglink.py +++ b/python/src/trezorlib/debuglink.py @@ -368,7 +368,7 @@ class DebugLink: self.mapping = mapping.DEFAULT_MAPPING # To be set by TrezorClientDebugLink (is not known during creation time) - self.model: Optional[str] = None + self.internal_model: Optional[str] = None self.version: Tuple[int, int, int] = (0, 0, 0) # Where screenshots are being saved @@ -956,7 +956,7 @@ class TrezorClientDebugLink(TrezorClient): # So that we can choose right screenshotting logic (T1 vs TT) # and know the supported debug capabilities - self.debug.model = self.features.model + self.debug.internal_model = self.features.internal_model self.debug.version = self.version def reset_debug_features(self) -> None: