Add test for missing var

This commit is contained in:
Antonio J. Delgado 2021-09-06 17:24:24 +03:00
parent becd821997
commit 2fbe2b06d5

View file

@ -73,7 +73,7 @@ class image_classifier:
self.exif_info = exif.Image(image_file)
if self.exif_info.has_exif:
for key in dir(self.exif_info):
if key != 'cannot read a base/unknown IFD tag instance':
if key != '_exif_ifd_pointer':
sys.stdout.write(f"{key}: ")
sys.stdout.write(f"{self.exif_info[key]}")
self.append_people_to_exif(people)