diff --git a/frigate/data_processing/real_time/custom_classification.py b/frigate/data_processing/real_time/custom_classification.py index a1374e2058..625c092a7b 100644 --- a/frigate/data_processing/real_time/custom_classification.py +++ b/frigate/data_processing/real_time/custom_classification.py @@ -547,4 +547,4 @@ def write_classification_attempt( # delete oldest face image if maximum is reached if len(files) > max_files: - os.unlink(os.path.join(folder, files[-1])) + os.unlink(os.path.join(folder, files[-1]), missing_ok=True)