Skip to content

Commit

Permalink
fixed another pep8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Feb 4, 2019
1 parent 1635d81 commit d6d9849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/proxy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def proxy(request, url=None, response_callback=None,
if auth_header:
access_token = get_token_from_auth_header(auth_header)
# otherwise we check if a session is active
elif request and request.user.is_authenticated :
elif request and request.user.is_authenticated:
access_token = get_token_object_from_session(request.session)

# we extend the token in case the session is active but the token expired
Expand Down

0 comments on commit d6d9849

Please sign in to comment.