Add debug
This commit is contained in:
parent
b308a517c7
commit
fd93451903
1 changed files with 4 additions and 0 deletions
|
@ -73,8 +73,12 @@ class image_classifier:
|
||||||
if exif_info.has_exif:
|
if exif_info.has_exif:
|
||||||
for key in exif_info.list_all():
|
for key in exif_info.list_all():
|
||||||
print(f"{key}: {exif_info[key]}")
|
print(f"{key}: {exif_info[key]}")
|
||||||
|
else:
|
||||||
|
self._log.debug("No exif info in the image.")
|
||||||
# get date
|
# get date
|
||||||
# move to destination
|
# move to destination
|
||||||
|
else:
|
||||||
|
self._log.debug("Doesn't seem to be an image.")
|
||||||
|
|
||||||
def load_known_people(self):
|
def load_known_people(self):
|
||||||
known_people = list()
|
known_people = list()
|
||||||
|
|
Loading…
Reference in a new issue