From 6633262d59b7c478512801f9e62ca2d5c7f24bed Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 6 Sep 2021 15:57:48 +0300 Subject: [PATCH] Add debug and fix var name --- image_classifier/image_classifier.py | 1 + 1 file changed, 1 insertion(+) diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index db8cbf7..0755489 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -63,6 +63,7 @@ class image_classifier: def process_file(self, file): ''' Process a file, find faces, add EXIF information and move it to the folder of the day''' + self._log.debug(f"Processing file '{file}'...") people = self.find_faces(file) with open(file, 'rb') as image_file: exif_info = exif.Image(image_file)