Disable googleclient

Google client is causing problems. Disable it for now.
This commit is contained in:
moyamo 2015-02-27 19:05:55 +02:00
parent a496e01967
commit 99db6cce76
1 changed files with 6 additions and 6 deletions

View File

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