1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2024-11-24 08:12:13 +02:00
This commit is contained in:
MarkParker5 2021-02-10 06:55:45 +02:00
parent 6654c59bb5
commit 96bb146822

View File

@ -74,7 +74,6 @@ class Zieit (Command):
for i, lesson in lessons.items():
border = datetime.strptime(lessonsTime[i-1], '%H:%M').time()
now = datetime.now().time()
print(now, start, now < border)
if now < start: next[i] = lesson
if now < border: next[i] = lesson
if next: return next[min(next.keys())]
else: return None