mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-09 18:38:47 +00:00
Allow compatibility with Python 2 (#214)
Following https://github.com/romanz/trezor-agent/issues/195
This commit is contained in:
parent
9ec331ed46
commit
1b6873eb20
@ -56,7 +56,7 @@ class UdpTransport(Transport):
|
|||||||
self.socket = None
|
self.socket = None
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "%s:%s:%s" % (self.PATH_PREFIX, *self.device)
|
return "%s:%s:%s" % ((self.PATH_PREFIX,) + self.device)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def enumerate():
|
def enumerate():
|
||||||
|
Loading…
Reference in New Issue
Block a user