summaryrefslogtreecommitdiff
path: root/calendar_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'calendar_manager.py')
-rw-r--r--calendar_manager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar_manager.py b/calendar_manager.py
index 318eb83..9ef6596 100644
--- a/calendar_manager.py
+++ b/calendar_manager.py
@@ -132,6 +132,10 @@ class CalendarManager:
return self.entries
def correct_dates(self, list_of_events):
+ for entry in self.entries:
+ entry.corrected_start_date = None
+ entry.corrected_end_date = None
+
for start_date, end_date, original_id in list_of_events:
entry = self.get_entry_by_id(original_id)
entry.corrected_start_date = start_date