mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-23 02:29:10 +00:00
fix(python): make TrezorClientDebugLink use pairing method SkipMethod by default
This commit is contained in:
parent
3094af5501
commit
3e759fd2c3
@ -40,7 +40,7 @@ from .exceptions import (
|
||||
UnexpectedMessageError,
|
||||
)
|
||||
from .log import DUMP_BYTES
|
||||
from .messages import DebugWaitType
|
||||
from .messages import DebugWaitType, ThpPairingMethod
|
||||
from .tools import parse_path
|
||||
from .transport import Timeout
|
||||
from .transport.session import ProtocolV2Channel, Session
|
||||
@ -1054,6 +1054,7 @@ class TrezorClientDebugLink(TrezorClient):
|
||||
open_transport: bool = True,
|
||||
debug_transport: Transport | None = None,
|
||||
) -> None:
|
||||
self._default_pairing_method = ThpPairingMethod.SkipPairing
|
||||
try:
|
||||
debug_transport = debug_transport or transport.find_debug()
|
||||
self.debug = DebugLink(debug_transport, auto_interact)
|
||||
|
Loading…
Reference in New Issue
Block a user