Skip to content

Commit

Permalink
Merge pull request #177 from tevinjoseph/master
Browse files Browse the repository at this point in the history
fixed pep8 error in social_serializers
  • Loading branch information
mjaworski committed Feb 23, 2016
2 parents bb7b127 + b2edfff commit b6dfd69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rest_auth/social_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def validate(self, attrs):
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
Expand Down

0 comments on commit b6dfd69

Please sign in to comment.