Skip to content

Commit 7adaea1

Browse files
Merge pull request #80 from PortableProgrammer/dev
Fixes #79 - Noisy `INFO` from GoogleAPI
2 parents a0fa5de + a9124ae commit 7adaea1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

status-light/sources/calendar/google.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ def get_calendar_service(self):
7171
Returns the Calendar service object."""
7272
creds = self.authenticate()
7373

74-
service = build('calendar', 'v3', credentials=creds)
74+
# 79 - Turn off cache_discovery, it's not supported with newer OAuth2 clients.
75+
service = build('calendar', 'v3', credentials=creds, cache_discovery=False)
7576
return service
7677

7778
def get_current_status(self):

0 commit comments

Comments
 (0)