From 99db6cce76f339e0a0e98d92b8144d5cdf24b04f Mon Sep 17 00:00:00 2001 From: moyamo Date: Fri, 27 Feb 2015 19:05:55 +0200 Subject: [PATCH] Disable googleclient Google client is causing problems. Disable it for now. --- googleclient.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/googleclient.py b/googleclient.py index 1454ce3..899bbd0 100644 --- a/googleclient.py +++ b/googleclient.py @@ -37,12 +37,12 @@ class GoogleClient(): def __init__(self): self.client = gdata.contacts.client.ContactsClient() - self.token = gdata.gauth.OAuth2Token( - client_id = GOOGLE_CLIENT_ID, - client_secret = GOOGLE_CLIENT_SECRET, - scope = 'https://www.google.com/m8/feeds/contacts', - user_agent = 'whatTrans' - ) + # self.token = gdata.gauth.OAuth2Token( + # client_id = GOOGLE_CLIENT_ID, + # client_secret = GOOGLE_CLIENT_SECRET, + # scope = 'https://www.google.com/m8/feeds/contacts', + # user_agent = 'whatTrans' + # ) def getTokenUrl(self, uri = 'urn:ietf:wg:oauth:2.0:oob'): return self.token.generate_authorize_url(redirect_uri=uri)