1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-09 00:51:20 +00:00

tx_api: fix issue on python < 3.5

This commit is contained in:
matejcik 2018-08-21 19:03:07 +02:00
parent 2559295f40
commit b5ef996b1d

View File

@ -30,7 +30,7 @@ class TxApi(object):
self.url = url
def get_url(self, *args):
return "/".join(map(str, [self.url, "api", *args]))
return "/".join(map(str, [self.url, "api"] + list(args)))
def fetch_json(self, resource, resourceid):
global cache_dir