]> git.parisson.com Git - django-social-auth.git/commitdiff
fixed issue with userid been cropped
authorHassek <nullwriter@gmail.com>
Wed, 9 May 2012 20:51:26 +0000 (16:21 -0430)
committerHassek <nullwriter@gmail.com>
Wed, 9 May 2012 20:51:26 +0000 (16:21 -0430)
social_auth/backends/contrib/evernote.py

index cdd4fd79bee79a46112ab92d4d860a4f025d649a..9cdbeb9f12e78cf0d846b5f04584dca39a116025 100644 (file)
@@ -54,7 +54,7 @@ class EvernoteBackend(OAuthBackend):
         }
 
     def get_user_id(self, details, response):
-        return response['edam_userId'][0]
+        return response['edam_userId']
 
 
 class EvernoteAuth(ConsumerBasedOAuth):