fix some bugs #1

Merged
kunsi merged 2 commits from vonbirne/kunsis-dotfiles:main into main 2021-12-05 14:31:54 +00:00
Showing only changes of commit 7d541c9f7e - Show all commits

View file

@ -33,11 +33,11 @@ try:
now = datetime.now()
trip_info_req = get('https://portal.imice.de/api1/rs/tripInfo/trip')
trip_info_req = get('https://iceportal.de/api1/rs/tripInfo/trip')
trip_info_req.raise_for_status()
trip_info = trip_info_req.json()['trip']
ice_status_req = get('https://portal.imice.de/api1/rs/status')
ice_status_req = get('https://iceportal.de/api1/rs/status')
ice_status_req.raise_for_status()
ice_status = ice_status_req.json()