Commits

Alexis Metaireau  committed 1a35e72

Parenthesis fail, fix by sim_sim, thanks.

  • Participants
  • Parent commits 4361ca6

Comments (0)

Files changed (1)

File oauthclient/views.py

     access token is given, store it in session.
     
     """
-    if not identifier+'_request_token' and identifier+'_request_token_secret' in request.session:
+    if not (identifier+'_request_token' and identifier+'_request_token_secret'
+            in request.session):
         raise Exception('%s_request_token and %s_request_token_secret are not' \
             'present in session.' % (identifier, identifier))