mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-22 21:30:56 +00:00
python: only set session_id from Features on firmwares that send it
This commit is contained in:
parent
6dace16033
commit
7f63cf28b0
@ -268,7 +268,8 @@ class TrezorClient:
|
|||||||
self.features.patch_version,
|
self.features.patch_version,
|
||||||
)
|
)
|
||||||
self.check_firmware_version(warn_only=True)
|
self.check_firmware_version(warn_only=True)
|
||||||
self.session_id = self.features.session_id
|
if self.features.session_id is not None:
|
||||||
|
self.session_id = self.features.session_id
|
||||||
|
|
||||||
def is_outdated(self):
|
def is_outdated(self):
|
||||||
if self.features.bootloader_mode:
|
if self.features.bootloader_mode:
|
||||||
|
Loading…
Reference in New Issue
Block a user