diff --git a/frigate/data_processing/real_time/custom_classification.py b/frigate/data_processing/real_time/custom_classification.py index a2f88ee93..ede21b404 100644 --- a/frigate/data_processing/real_time/custom_classification.py +++ b/frigate/data_processing/real_time/custom_classification.py @@ -654,5 +654,5 @@ def write_classification_attempt( if len(files) > max_files: os.unlink(os.path.join(folder, files[-1])) - except FileNotFoundError: + except (FileNotFoundError, OSError): pass