Except filenotfound

This commit is contained in:
amcmanu3 2024-07-08 20:05:42 -04:00
parent eefbc81538
commit f26606a0cd

View File

@ -808,7 +808,7 @@ class TasksManager:
):
try:
os.remove(os.path.join(file))
except:
except FileNotFoundError:
logger.debug("Could not clear out file from temp directory")
for file in os.listdir(
@ -819,7 +819,7 @@ class TasksManager:
):
try:
os.remove(os.path.join(file))
except:
except FileNotFoundError:
logger.debug("Could not clear out file from import directory")
def log_watcher(self):