Add debug and fix var name
This commit is contained in:
parent
43e2587041
commit
6633262d59
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class image_classifier:
|
||||||
def process_file(self, file):
|
def process_file(self, file):
|
||||||
''' Process a file, find faces, add EXIF information and
|
''' Process a file, find faces, add EXIF information and
|
||||||
move it to the folder of the day'''
|
move it to the folder of the day'''
|
||||||
|
self._log.debug(f"Processing file '{file}'...")
|
||||||
people = self.find_faces(file)
|
people = self.find_faces(file)
|
||||||
with open(file, 'rb') as image_file:
|
with open(file, 'rb') as image_file:
|
||||||
exif_info = exif.Image(image_file)
|
exif_info = exif.Image(image_file)
|
||||||
|
|
Loading…
Reference in a new issue