Skip to content

Commit

Permalink
Convert twitter-oauth access token to string before writing to database
Browse files Browse the repository at this point in the history
this fixes a type error
  • Loading branch information
Hel authored and shabda committed Jul 12, 2010
1 parent 8cb1ddf commit 1e53350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socialauth/auth_backends.py
Expand Up @@ -192,7 +192,7 @@ def authenticate(self, twitter_access_token, user=None):
user.save()

user_profile = TwitterUserProfile(user=user, screen_name=screen_name)
user_profile.access_token = twitter_access_token
user_profile.access_token = str(twitter_access_token)
user_profile.url = userinfo.url
user_profile.location = userinfo.location
user_profile.description = userinfo.description
Expand Down

0 comments on commit 1e53350

Please sign in to comment.