Will have to rethink that

This commit is contained in:
Watchful1 2023-08-31 14:49:24 -07:00
parent 01170ebbdc
commit cb1cefb563

View file

@ -60,8 +60,6 @@ def query_reddit(ids, reddit, object_type):
break
except prawcore.exceptions.ServerError:
time.sleep(2)
if response.status_code != 200:
log.warning(f"4 requests failed with status code {response.status_code}")
return response['data']['children']