From fd9345190334456bca7941e3b405c2a3e0c42f0e Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 6 Sep 2021 16:49:07 +0300 Subject: [PATCH] Add debug --- image_classifier/image_classifier.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index fef9d99..97d55db 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -73,8 +73,12 @@ class image_classifier: if exif_info.has_exif: for key in exif_info.list_all(): print(f"{key}: {exif_info[key]}") + else: + self._log.debug("No exif info in the image.") # get date # move to destination + else: + self._log.debug("Doesn't seem to be an image.") def load_known_people(self): known_people = list()