mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-31 18:40:56 +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
|
||||
|
||||
def __str__(self):
|
||||
return "%s:%s:%s" % (self.PATH_PREFIX, *self.device)
|
||||
return "%s:%s:%s" % ((self.PATH_PREFIX,) + self.device)
|
||||
|
||||
@staticmethod
|
||||
def enumerate():
|
||||
|
Loading…
Reference in New Issue
Block a user