diff --git a/divia_api/stop.py b/divia_api/stop.py index 523cd12..6bc3a5b 100644 --- a/divia_api/stop.py +++ b/divia_api/stop.py @@ -58,7 +58,7 @@ def totem(self) -> list: else: result.append(time_1_today) if two: - time_2 = html_totem.split(" ")[2].split("")[0] + time_2 = html_totem.split(" ")[2].split("")[0].split(":") time_2_today = datetime(now.year, now.month, now.day, int(time_2[0]), int(time_2[1]), 0) if (now - two_minutes) > time_2_today: result.append(time_2_today + one_day)