[google] suppress file_cache warning (#6128)

This commit is contained in:
Lewis Juggins authored and Paulus Schoutsen committed 2017-02-20 14:14:45 -08:00
1 parent 1d7ab0fa95
commit 1d4c3febee
1 file changed
+2 -1
+2 -1
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