diff --git a/travelynx-waybar.py b/travelynx-waybar.py
index b61f764..1e5e221 100755
--- a/travelynx-waybar.py
+++ b/travelynx-waybar.py
@@ -89,19 +89,14 @@ if checked_in or args.last_checkin is not None :
stops = response["intermediateStops"]
now = time.time()
for stop in stops:
- if stop["scheduledDeparture"] is None and stop["scheduledArrival"] is None :
- continue
if stop["realDeparture"] is not None and int(stop["realDeparture"]) > now :
dep = timestring(stop, "Departure")
arr = timestring(stop, "Arrival")
tooltip = tooltip + f'\n{arr}–{dep} {stop["name"]}'
- elif stop["scheduledDeparture"] is not None and int(stop["scheduledDeparture"]) > now :
+ elif int(stop["scheduledDeparture"]) > now :
dep = humantime(stop["scheduledDeparture"])
arr = humantime(stop["scheduledArrival"])
tooltip = tooltip + f'\n{arr}–{dep} {stop["name"]}'
- elif stop["scheduledDeparture"] is None and int(stop["scheduledArrival"]) > now :
- arr = humantime(stop["scheduledArrival"])
- tooltip = tooltip + f'\narrival {arr} {stop["name"]}'
print(json.dumps({"text": st, "tooltip": tooltip, "class": "active", "percentage": ""}))