Skip to content

Commit

Permalink
fix if identation
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRZapata committed Jul 2, 2020
1 parent 97a6c6c commit 66ff436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PyCrowdTangle/PyCrowdTangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ def ct_get_lists(api_token=""):

# sending get request and saving the response as response object
r = requests.get(url=URL_BASE, params=PARAMS)
if r.status_code != 200:
if r.status_code != 200:
out = r.json()
print(f"status: {out['status']}")
print(f"Code error: {out['code']}")
print(f"Message: {out['message']}")
else:
return r.json()
return r.json()

0 comments on commit 66ff436

Please sign in to comment.