Disable googleclient
Google client is causing problems. Disable it for now.
This commit is contained in:
parent
a496e01967
commit
99db6cce76
|
@ -37,12 +37,12 @@ class GoogleClient():
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.client = gdata.contacts.client.ContactsClient()
|
self.client = gdata.contacts.client.ContactsClient()
|
||||||
self.token = gdata.gauth.OAuth2Token(
|
# self.token = gdata.gauth.OAuth2Token(
|
||||||
client_id = GOOGLE_CLIENT_ID,
|
# client_id = GOOGLE_CLIENT_ID,
|
||||||
client_secret = GOOGLE_CLIENT_SECRET,
|
# client_secret = GOOGLE_CLIENT_SECRET,
|
||||||
scope = 'https://www.google.com/m8/feeds/contacts',
|
# scope = 'https://www.google.com/m8/feeds/contacts',
|
||||||
user_agent = 'whatTrans'
|
# user_agent = 'whatTrans'
|
||||||
)
|
# )
|
||||||
|
|
||||||
def getTokenUrl(self, uri = 'urn:ietf:wg:oauth:2.0:oob'):
|
def getTokenUrl(self, uri = 'urn:ietf:wg:oauth:2.0:oob'):
|
||||||
return self.token.generate_authorize_url(redirect_uri=uri)
|
return self.token.generate_authorize_url(redirect_uri=uri)
|
||||||
|
|
Loading…
Reference in a new issue