From 67b3c4278bca52cbd6134ff9fc5d6f85cb39436b Mon Sep 17 00:00:00 2001 From: dymik739 Date: Wed, 6 Sep 2023 17:33:12 +0300 Subject: [PATCH] auto-schedule-pro-v2: fix date showing up twice during schedule lookup --- modules/auto-schedule-pro-v2/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auto-schedule-pro-v2/main.py b/modules/auto-schedule-pro-v2/main.py index 38b8749..48ea3af 100644 --- a/modules/auto-schedule-pro-v2/main.py +++ b/modules/auto-schedule-pro-v2/main.py @@ -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