Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Update services.py #278 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxMaSk committed Feb 20, 2018
1 parent 48d9f31 commit 40cef64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django_th/services/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ def callback_oauth1(self, request, **kwargs):
:rtype: string
"""
if kwargs.get('access_token') == '' or kwargs.get('access_token') is None:
access_token = self.get_access_token(request.session['oauth_token'], request.session.get('oauth_token', ''),
access_token = self.get_access_token(request.session['oauth_token'],
request.session.get('oauth_token', ''),
request.GET.get('oauth_verifier', ''))
else:
access_token = kwargs.get('access_token')
Expand Down

0 comments on commit 40cef64

Please sign in to comment.