Skip to content

Commit

Permalink
Make next_url equals None instead of str() if no next urls foun…
Browse files Browse the repository at this point in the history
…d in `atlas_probes.py` crawler pipeline.
  • Loading branch information
mohamedawnallah committed Dec 20, 2023
1 parent a6abff3 commit 49bc6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iyp/crawlers/ripe/atlas_probes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __process_response(response: requests.Response):
next_url = data['next']
if not next_url:
logging.info('Reached end of list')
next_url = str()
next_url = None
return next_url, data['results']

def __execute_query(self, url: str):
Expand Down

0 comments on commit 49bc6aa

Please sign in to comment.