scheint jetzt zu funktionieren
This commit is contained in:
parent
151e9b13cd
commit
a41125582a
|
|
@ -15,9 +15,9 @@ tripData = None
|
|||
def get_api_db():
|
||||
global statusData
|
||||
global tripData
|
||||
statusData_response = get("https://iceportal.de/api1/rs/status")
|
||||
statusData_response = get("https://iceportal.de/api1/rs/status", timeout=5)
|
||||
statusData = statusData_response.json()
|
||||
tripData_response = get("https://iceportal.de/api1/rs/tripInfo/trip")
|
||||
tripData_response = get("https://iceportal.de/api1/rs/tripInfo/trip", timeout=5)
|
||||
tripData = tripData_response.json()
|
||||
|
||||
def get_ssid():
|
||||
|
|
|
|||
Loading…
Reference in New Issue