From 77dd449d3e680629d3242591c73ba74f45de3d79 Mon Sep 17 00:00:00 2001 From: George Ruinelli Date: Fri, 13 Oct 2023 19:08:38 +0200 Subject: [PATCH] use new naming of excluded calendars --- calendar_fetcher.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/calendar_fetcher.py b/calendar_fetcher.py index 35f8772..1c8b1b9 100755 --- a/calendar_fetcher.py +++ b/calendar_fetcher.py @@ -22,7 +22,8 @@ import pprint as pp def fetch_calendar(): numberOfDaysToShow = 5 - excludedCalendars = ['todo', 'todogemeinsam', 'contact_birthdays', 'geburtstage', 'infos'] + #excludedCalendars = ['todo', 'todogemeinsam', 'contact_birthdays', 'geburtstage', 'infos'] + excludedCalendars = ['ToDo', 'ToDo Gemeinsam', 'Geburtstage von Kontakten', 'Geburtstage', 'Infos'] #excludedCalendars = ['todo', 'todogemeinsam', 'contact_birthdays', 'geburtstage', 'gemeinsam', 'evtermine_shared_by_anita', 'jael'] #excludedCalendars = ['gemeinsam', 'contact_birthdays', 'geburtstage'] @@ -64,9 +65,11 @@ def fetch_calendar(): #if str(calendar).split("/")[-2] in excludedCalendars: if str(calendar) in excludedCalendars: #print("Ignoring %s" % str(calendar).split("/")[-2]) + #print("Ignoring %s" % str(calendar)) continue else: #print("Adding %s" % str(calendar).split("/")[-2]) + #print("Adding %s" % str(calendar)) calendarsFiltered.append(calendar)