mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Update integrationSplynx.py
This commit is contained in:
parent
7c351a1c3d
commit
bef5dea9af
@ -20,7 +20,7 @@ def spylnxRequest(target, headers):
|
|||||||
# Sends a REST GET request to Spylnx and returns the
|
# Sends a REST GET request to Spylnx and returns the
|
||||||
# result in JSON
|
# result in JSON
|
||||||
url = splynx_api_url() + "/api/2.0/" + target
|
url = splynx_api_url() + "/api/2.0/" + target
|
||||||
r = requests.get(url, headers=headers, timeout=10)
|
r = requests.get(url, headers=headers, timeout=120)
|
||||||
return r.json()
|
return r.json()
|
||||||
|
|
||||||
def getTariffs(headers):
|
def getTariffs(headers):
|
||||||
|
Loading…
Reference in New Issue
Block a user