From 8cf9208a29ac8f202358ba7274a1ec5d5faf4534 Mon Sep 17 00:00:00 2001 From: Rhinemann Date: Mon, 4 Sep 2023 23:34:16 +0300 Subject: [PATCH] PEP8 autoformat. --- modules/auto-schedule-pro-v2/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/auto-schedule-pro-v2/main.py b/modules/auto-schedule-pro-v2/main.py index e7d6da8..4449641 100644 --- a/modules/auto-schedule-pro-v2/main.py +++ b/modules/auto-schedule-pro-v2/main.py @@ -152,7 +152,7 @@ def process(message, path): closest_lesson_time = min(schedule) return "*Актуальна пара*: " + get_lesson_description(schedule, reference_time, closest_lesson_time, current_day, - current_week) + current_week) elif base_command == "!пари": base_day = current_week * 7 + current_day @@ -167,7 +167,8 @@ def process(message, path): lesson_list = [i for i in schedule if selected_day * 86400 <= i < (selected_day + 1) * 86400] lesson_descriptions_list = ["*Назва*: " + get_lesson_description(schedule, reference_time, lesson_time, - current_day, current_week, overrides=preferences) + current_day, current_week, + overrides=preferences) for lesson_time in lesson_list] return f"__Пари {WEEKDAYS_ACCUSATIVE[selected_day % 7]}__\n" + "\n\n".join(lesson_descriptions_list)