auto-schedule-pro-v2: fix date showing up twice during schedule lookup

This commit is contained in:
dymik739 2023-09-06 17:33:12 +03:00
parent 0497cbf9b7
commit 67b3c4278b
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def get_lesson_description(schedule, reference_time, lesson_time, current_day, c
internal_overrides['date'] = False
description = generate_lesson_description(lesson_record, lesson_start_datetime, lesson_end_datetime, current_day,
current_week, overrides=overrides)
current_week, overrides=internal_overrides)
if 'date' in user_defined_overrides and not user_defined_overrides['date']:
return description