PEP8 autoformat.

This commit is contained in:
Rhinemann 2023-09-04 23:34:16 +03:00
parent 1ea0ab35e3
commit 8cf9208a29
1 changed files with 3 additions and 2 deletions

View File

@ -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_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, 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] for lesson_time in lesson_list]
return f"__Пари {WEEKDAYS_ACCUSATIVE[selected_day % 7]}__\n" + "\n\n".join(lesson_descriptions_list) return f"__Пари {WEEKDAYS_ACCUSATIVE[selected_day % 7]}__\n" + "\n\n".join(lesson_descriptions_list)