use new naming of excluded calendars
This commit is contained in:
parent
c9d77c745e
commit
77dd449d3e
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user