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:
parent
2559295f40
commit
b5ef996b1d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user