[google] suppress file_cache warning ()

pull/6133/head
Lewis Juggins 2017-02-20 22:14:45 +00:00 committed by Paulus Schoutsen
parent 1d7ab0fa95
commit 1d4c3febee
1 changed files with 2 additions and 1 deletions
homeassistant/components

View File

@ -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