ui: Use coin tickers as wallet keys in json/wallets

This commit is contained in:
tecnovert
2022-07-25 22:56:14 +02:00
parent 18a444b071
commit cd5af7032f
15 changed files with 58 additions and 40 deletions

View File

@@ -213,7 +213,7 @@ def read_json_api(port, path=None):
url = f'http://127.0.0.1:{port}/json'
if path is not None:
url += '/' + path
return json.loads(urlopen(url).read())
return json.loads(urlopen(url, timeout=30).read())
def post_json_api(port, path, json_data):