Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #77 from lolamathematician/patch-1
Browse files Browse the repository at this point in the history
Resolving TypeError
  • Loading branch information
dmarx authored Oct 2, 2020
2 parents 1cbd8c8 + b61ec6f commit 200ed20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psaw/PushshiftAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _get(self, url, payload={}):
log.info(response.url)
log.debug('Response status code: %s' % response.status_code)
except requests.ConnectionError:
log.debug("Connection error caught, retrying. Connection attempts so far: %s" % i+1)
log.debug("Connection error caught, retrying. Connection attempts so far: %s" % str(i+1))
continue
success = response.status_code == 200
if not success:
Expand Down

0 comments on commit 200ed20

Please sign in to comment.