From 8debb0b3d5120d010b12bf7fdae3e63bdb909987 Mon Sep 17 00:00:00 2001 From: Rhinemann Date: Mon, 8 May 2023 10:23:06 +0300 Subject: [PATCH] Typos. --- modules/auto-schedule-pro-v2/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 == "!пари":