mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-19 16:49:02 +00:00
fixup! feat(python): implement session based trezorlib
This commit is contained in:
parent
95d663205d
commit
a12c25aa2b
@ -212,7 +212,7 @@ class SessionV1(Session):
|
||||
)
|
||||
assert isinstance(resp, messages.Features)
|
||||
if new_session:
|
||||
self.id = resp.session_id
|
||||
self.id = resp.session_id or b""
|
||||
elif self.id != resp.session_id:
|
||||
raise exceptions.FailedSessionResumption(resp.session_id)
|
||||
self.was_initialized_at_least_once = True
|
||||
|
Loading…
Reference in New Issue
Block a user