mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-23 07:58:09 +00:00
Make all transport prefixes lowercase.
This commit is contained in:
parent
03a11450c1
commit
ac09c8d7de
@ -57,7 +57,7 @@ class HidTransport(Transport):
|
|||||||
HidTransport implements transport over USB HID interface.
|
HidTransport implements transport over USB HID interface.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
PATH_PREFIX = 'HID'
|
PATH_PREFIX = 'hid'
|
||||||
|
|
||||||
def __init__(self, device, protocol=None, hid_handle=None):
|
def __init__(self, device, protocol=None, hid_handle=None):
|
||||||
super(HidTransport, self).__init__()
|
super(HidTransport, self).__init__()
|
||||||
|
@ -30,7 +30,7 @@ class UdpTransport(Transport):
|
|||||||
|
|
||||||
DEFAULT_HOST = '127.0.0.1'
|
DEFAULT_HOST = '127.0.0.1'
|
||||||
DEFAULT_PORT = 21324
|
DEFAULT_PORT = 21324
|
||||||
PATH_PREFIX = 'UDP'
|
PATH_PREFIX = 'udp'
|
||||||
|
|
||||||
def __init__(self, device=None, protocol=None):
|
def __init__(self, device=None, protocol=None):
|
||||||
super(UdpTransport, self).__init__()
|
super(UdpTransport, self).__init__()
|
||||||
|
Loading…
Reference in New Issue
Block a user