Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Commit

Permalink
tx_api: fix issue on python < 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
matejcik committed Aug 21, 2018
1 parent 2559295 commit b5ef996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trezorlib/tx_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, network, url=None):
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
Expand Down

0 comments on commit b5ef996

Please sign in to comment.