Skip to content

Commit

Permalink
Fix ImportError in calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
aykevl committed Sep 5, 2017
1 parent 29910a0 commit daba8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kn/agenda/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def parse_item_date(date):

def fetch_agenda(h, cal_id):
timeMin = datetime.datetime.utcnow().date().isoformat() + 'T00:00:00Z'
cal = build('calendar', 'v3', http=h)
cal = build('calendar', 'v3', http=h, cache_discovery=False)
request = cal.events().list(calendarId=cal_id,
timeMin=timeMin,
fields='items(summary,description,start,end)')
Expand Down

0 comments on commit daba8f1

Please sign in to comment.