ui: rateslist returns js list of rates.

This commit is contained in:
tecnovert
2022-08-03 23:59:57 +02:00
parent 1ee2db137b
commit 412770d399
5 changed files with 141 additions and 87 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, timeout=30).read())
return json.loads(urlopen(url, timeout=300).read())
def post_json_api(port, path, json_data):