1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 13:28:10 +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 0f71cbcc44
commit 1de1ff2823

View File

@ -31,7 +31,7 @@ class TxApi(object):
self.url = url self.url = url
def get_url(self, *args): 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): def fetch_json(self, resource, resourceid):
global cache_dir global cache_dir