mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
print info on skipping transports
This commit is contained in:
parent
e9958d115f
commit
58faa02263
@ -25,19 +25,22 @@ sys.path = ['../../'] + sys.path
|
||||
try:
|
||||
from trezorlib.transport_hid import HidTransport
|
||||
HID_ENABLED = True
|
||||
except:
|
||||
except Exception as e:
|
||||
print('HID transport disabled:', e.message, e.args)
|
||||
HID_ENABLED = False
|
||||
|
||||
try:
|
||||
from trezorlib.transport_pipe import PipeTransport
|
||||
PIPE_ENABLED = True
|
||||
except:
|
||||
except Exception as e:
|
||||
print('PIPE transport disabled:', e.message, e.args)
|
||||
PIPE_ENABLED = False
|
||||
|
||||
try:
|
||||
from trezorlib.transport_udp import UdpTransport
|
||||
UDP_ENABLED = True
|
||||
except:
|
||||
except Exception as e:
|
||||
print('UDP transport disabled:', e.message, e.args)
|
||||
UDP_ENABLED = False
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user