1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00

Make all transport prefixes lowercase.

This commit is contained in:
slush 2018-02-02 19:20:03 +01:00
parent 03a11450c1
commit ac09c8d7de
2 changed files with 2 additions and 2 deletions

View File

@ -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__()

View File

@ -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__()