From 1b6873eb20da8ad58adbf0b442f5250dfd1addc9 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sun, 4 Feb 2018 12:44:20 +0200 Subject: [PATCH] Allow compatibility with Python 2 (#214) Following https://github.com/romanz/trezor-agent/issues/195 --- trezorlib/transport_udp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorlib/transport_udp.py b/trezorlib/transport_udp.py index 35e81480ef..c048d17214 100644 --- a/trezorlib/transport_udp.py +++ b/trezorlib/transport_udp.py @@ -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():