Skip to content

Commit

Permalink
Found calendar ID defaulted to primary
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondls committed Aug 19, 2020
1 parent 9995995 commit 79b44b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Schedulebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def createEvent(summary, location, description, startTime, endTime, timezone, gi
print(startDate)
print(endDate)
eventsCreated.append(summary)
foundCalendarID = 'primary'
if separateEventsByCalendar:
foundCalendarID = 'primary'
for calendarListEntry in calendarList:
if calendarListEntry['summary'] == summary:
foundCalendarID = calendarListEntry['id']
Expand Down

0 comments on commit 79b44b8

Please sign in to comment.