diff --git a/modules/auto-schedule-pro-v2/main.py b/modules/auto-schedule-pro-v2/main.py index 3f5a529..f58e437 100644 --- a/modules/auto-schedule-pro-v2/main.py +++ b/modules/auto-schedule-pro-v2/main.py @@ -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 == "!пари":