1
0
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:
Roman Zeyde 2018-02-04 12:44:20 +02:00 committed by Pavol Rusnak
parent 9ec331ed46
commit 1b6873eb20

View File

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