auto-schedule-pro-v2: fix date showing up twice during schedule lookup
This commit is contained in:
parent
0497cbf9b7
commit
67b3c4278b
|
@ -164,7 +164,7 @@ def get_lesson_description(schedule, reference_time, lesson_time, current_day, c
|
||||||
internal_overrides['date'] = False
|
internal_overrides['date'] = False
|
||||||
|
|
||||||
description = generate_lesson_description(lesson_record, lesson_start_datetime, lesson_end_datetime, current_day,
|
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']:
|
if 'date' in user_defined_overrides and not user_defined_overrides['date']:
|
||||||
return description
|
return description
|
||||||
|
|
Loading…
Reference in New Issue