KaiquanMah commited on
Commit
f265be4
·
verified ·
1 Parent(s): 20c927b

Update calendar_app.py

Browse files
Files changed (1) hide show
  1. calendar_app.py +8 -2
calendar_app.py CHANGED
@@ -40,8 +40,14 @@ class Calendar:
40
  day_str = f"{day_int:02d}"
41
  date = str(date_yyyymm)+day_str
42
  if str(date) not in self.reminders:
43
- self.reminders[str(date)] = []
44
- self.reminders[str(date)].append(reminder)
 
 
 
 
 
 
45
  self.save_calendar()
46
  print(f"Reminder added from {date_start} to {date_end} (inclusive of start and end dates): {reminder}")
47
 
 
40
  day_str = f"{day_int:02d}"
41
  date = str(date_yyyymm)+day_str
42
  if str(date) not in self.reminders:
43
+ self.reminders[date] = []
44
+ self.reminders[date].append(reminder)
45
+
46
+ print(f"day_int: {day_int}")
47
+ print(f"day_int: {day_str}")
48
+ print(f"day_int: {date}")
49
+ print(f"day_int: {reminder}")
50
+
51
  self.save_calendar()
52
  print(f"Reminder added from {date_start} to {date_end} (inclusive of start and end dates): {reminder}")
53