mirror of
https://github.com/MarkParker5/STARK.git
synced 2024-11-24 08:12:13 +02:00
fix
This commit is contained in:
parent
6654c59bb5
commit
96bb146822
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user