From bdaf1bee622a658c6ae7534791adfddf2b576fd4 Mon Sep 17 00:00:00 2001 From: "Noah Hanford (spaced)" Date: Wed, 18 Mar 2026 18:52:40 -0400 Subject: [PATCH] fix dumb thing i did --- conditional/blueprints/major_project_submission.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/conditional/blueprints/major_project_submission.py b/conditional/blueprints/major_project_submission.py index 2fc4719..4f6500e 100644 --- a/conditional/blueprints/major_project_submission.py +++ b/conditional/blueprints/major_project_submission.py @@ -165,9 +165,6 @@ def submit_major_project(user_dict=None): # Delete the temp directory once all the files have been stored in S3 os.rmdir(temp_dir) - else: - log.error("Could not create temp directory for uploading files") - return jsonify({"success": False}), 500 # Send the slack ping only after we know that the data was properly saved to the DB