From: Matías Aguirre Date: Tue, 15 Mar 2011 22:25:10 +0000 (-0300) Subject: Bug fix X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=26db020009094195bff3ec59fc04bad4a4d28577;p=django-social-auth.git Bug fix --- diff --git a/social_auth/backends/google.py b/social_auth/backends/google.py index c75a5f1..82121e6 100644 --- a/social_auth/backends/google.py +++ b/social_auth/backends/google.py @@ -104,7 +104,7 @@ class GoogleOAuth(BaseGoogleOAuth): def user_data(self, access_token): """Return user data from Google API""" request = self.oauth_request(access_token, GOOGLEAPIS_EMAIL, - {'alt': 'json'}).to_url() + {'alt': 'json'}) url, params = request.to_url().split('?', 1) return googleapis_email(url, params)