add check for startwith _
This commit is contained in:
parent
2fbe2b06d5
commit
cbbe4ca341
1 changed files with 1 additions and 1 deletions
|
@ -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 != '_exif_ifd_pointer':
|
||||
if not key.startswith("_"):
|
||||
sys.stdout.write(f"{key}: ")
|
||||
sys.stdout.write(f"{self.exif_info[key]}")
|
||||
self.append_people_to_exif(people)
|
||||
|
|
Loading…
Reference in a new issue