From b2edfffc91380cc0554504a67ee2a556cf9c360c Mon Sep 17 00:00:00 2001 From: Tevin Joseph K O Date: Tue, 23 Feb 2016 17:52:44 +0530 Subject: [PATCH] fixed pep8 error in social_serializers fixed pep8 error in social_serializers which cause documentation build error --- rest_auth/social_serializers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest_auth/social_serializers.py b/rest_auth/social_serializers.py index 2aee4ea..087e6e1 100644 --- a/rest_auth/social_serializers.py +++ b/rest_auth/social_serializers.py @@ -58,8 +58,8 @@ class TwitterLoginSerializer(serializers.Serializer): raise serializers.ValidationError('Incorrect input. access_token and token_secret are required.') request.session['oauth_api.twitter.com_access_token'] = { - 'oauth_token': access_token, - 'oauth_token_secret': token_secret, + 'oauth_token': access_token, + 'oauth_token_secret': token_secret, } token = SocialToken(token=access_token, token_secret=token_secret) token.app = app