Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qiita_client/qiita_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _request_oauth2(self, req, *args, **kwargs):
except ValueError:
r_json = None

if r_json and r_json()['error_description'] == \
if r_json and r_json['error_description'] == \
'Oauth2 error: token has timed out':
# The token expired - get a new one and re-try the request
self._fetch_token()
Expand Down