Merge pull request #177 from tevinjoseph/master

fixed pep8 error in social_serializers
This commit is contained in:
Maciej Jaworski 2016-02-23 13:27:01 +00:00
commit b6dfd69009

View File

@ -58,8 +58,8 @@ class TwitterLoginSerializer(serializers.Serializer):
raise serializers.ValidationError('Incorrect input. access_token and token_secret are required.') raise serializers.ValidationError('Incorrect input. access_token and token_secret are required.')
request.session['oauth_api.twitter.com_access_token'] = { request.session['oauth_api.twitter.com_access_token'] = {
'oauth_token': access_token, 'oauth_token': access_token,
'oauth_token_secret': token_secret, 'oauth_token_secret': token_secret,
} }
token = SocialToken(token=access_token, token_secret=token_secret) token = SocialToken(token=access_token, token_secret=token_secret)
token.app = app token.app = app