Add debug and fix var name

This commit is contained in:
Antonio J. Delgado 2021-09-06 15:57:48 +03:00
parent 43e2587041
commit 6633262d59

View file

@ -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)