From fe84f2d8709a479e0ad5f7c4fa61c143da4bbc3c Mon Sep 17 00:00:00 2001 From: amykglen Date: Wed, 20 Dec 2023 11:06:02 -0800 Subject: [PATCH] Remove added 'or' clause that can never evaluate to True #2203 --- code/ARAX/ResponseCache/response_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ARAX/ResponseCache/response_cache.py b/code/ARAX/ResponseCache/response_cache.py index 2977196a7..dcb473c1b 100644 --- a/code/ARAX/ResponseCache/response_cache.py +++ b/code/ARAX/ResponseCache/response_cache.py @@ -279,7 +279,7 @@ def add_new_response(self,response): #### if the S3 write failed, store it as a JSON file on the filesystem - if not succeeded_to_s3 or not s3_bucket_migration_datetime: + if not succeeded_to_s3: response_dir = os.path.dirname(os.path.abspath(__file__)) + '/../../../data/responses_1_0' if not os.path.exists(response_dir): try: