Skip to content

Commit

Permalink
Remove added 'or' clause that can never evaluate to True #2203
Browse files Browse the repository at this point in the history
  • Loading branch information
amykglen committed Dec 20, 2023
1 parent a050b4d commit fe84f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ARAX/ResponseCache/response_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fe84f2d

Please sign in to comment.