Typos.
This commit is contained in:
parent
2206bf6319
commit
8debb0b3d5
|
@ -111,8 +111,8 @@ def get_lesson_description(schedule, reference_time, lesson_time, current_day, c
|
|||
lesson_start_datetime = datetime.fromtimestamp(reference_time + lesson_time)
|
||||
lesson_end_datetime = datetime.fromtimestamp(reference_time + lesson_time + 5400)
|
||||
|
||||
return generate_lesson_description(lesson_record, lesson_start_datetime, lesson_end_datetime,
|
||||
current_day, current_week, overrides=overrides)
|
||||
return generate_lesson_description(lesson_record, lesson_start_datetime, lesson_end_datetime, current_day,
|
||||
current_week, overrides=overrides)
|
||||
|
||||
|
||||
def process(message, path):
|
||||
|
@ -151,8 +151,7 @@ def process(message, path):
|
|||
else:
|
||||
closest_lesson_time = min(schedule)
|
||||
|
||||
return "Актуальна пара: " + get_lesson_description(schedule, reference_time,
|
||||
closest_lesson_time, current_day,
|
||||
return "Актуальна пара: " + get_lesson_description(schedule, reference_time, closest_lesson_time, current_day,
|
||||
current_week)
|
||||
|
||||
elif base_command == "!пари":
|
||||
|
|
Loading…
Reference in New Issue