Add debug message to doods (#100002)

* Debug message if no detections found or
no output file configured

* fix formatting

* black

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
fender4645
2023-09-10 03:58:18 -07:00
committed by GitHub
parent 446ca2e9ad
commit e4af50f955

View File

@@ -392,6 +392,10 @@ class Doods(ImageProcessingEntity):
else:
paths.append(path_template)
self._save_image(image, matches, paths)
else:
_LOGGER.debug(
"Not saving image(s), no detections found or no output file configured"
)
self._matches = matches
self._total_matches = total_matches