mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
[google] suppress file_cache warning (#6128)
This commit is contained in:
committed by
Paulus Schoutsen
parent
1d7ab0fa95
commit
1d4c3febee
@@ -247,7 +247,8 @@ class GoogleCalendarService(object):
|
||||
from googleapiclient import discovery as google_discovery
|
||||
credentials = Storage(self.token_file).get()
|
||||
http = credentials.authorize(httplib2.Http())
|
||||
service = google_discovery.build('calendar', 'v3', http=http)
|
||||
service = google_discovery.build('calendar', 'v3', http=http,
|
||||
cache_discovery=False)
|
||||
return service
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user