From cb1cefb5631063231d1e4b5afb76b9c85e05baba Mon Sep 17 00:00:00 2001 From: Watchful1 Date: Thu, 31 Aug 2023 14:49:24 -0700 Subject: [PATCH] Will have to rethink that --- personal/combine/build_day.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/personal/combine/build_day.py b/personal/combine/build_day.py index 72df489..c71bfc7 100644 --- a/personal/combine/build_day.py +++ b/personal/combine/build_day.py @@ -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']