1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-08 15:48:08 +00:00

chore(python): change debug.model to internal_model

[no changelog]
This commit is contained in:
grdddj 2023-09-04 11:07:36 +02:00
parent b17d9da65d
commit 57ddb43a7e

View File

@ -368,7 +368,7 @@ class DebugLink:
self.mapping = mapping.DEFAULT_MAPPING self.mapping = mapping.DEFAULT_MAPPING
# To be set by TrezorClientDebugLink (is not known during creation time) # 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) self.version: Tuple[int, int, int] = (0, 0, 0)
# Where screenshots are being saved # Where screenshots are being saved
@ -956,7 +956,7 @@ class TrezorClientDebugLink(TrezorClient):
# So that we can choose right screenshotting logic (T1 vs TT) # So that we can choose right screenshotting logic (T1 vs TT)
# and know the supported debug capabilities # 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 self.debug.version = self.version
def reset_debug_features(self) -> None: def reset_debug_features(self) -> None: