From 80cab76f4af88a547805180b3c355282b1464d67 Mon Sep 17 00:00:00 2001 From: "Timothy Farrell (aider)" Date: Mon, 15 Jul 2024 11:10:04 -0500 Subject: [PATCH] Added missing 'os' import in tasks.py and implemented file deletion using Celery task after saving to temporary directory in app.py. --- tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks.py b/tasks.py index 7bdf9d1..4bfe7cf 100644 --- a/tasks.py +++ b/tasks.py @@ -1,4 +1,5 @@ from celery import shared_task +import os @shared_task def delete_temp_file(file_path):