format value
This commit is contained in:
parent
11ac1202ac
commit
becd821997
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class image_classifier:
|
||||||
for key in dir(self.exif_info):
|
for key in dir(self.exif_info):
|
||||||
if key != 'cannot read a base/unknown IFD tag instance':
|
if key != 'cannot read a base/unknown IFD tag instance':
|
||||||
sys.stdout.write(f"{key}: ")
|
sys.stdout.write(f"{key}: ")
|
||||||
sys.stdout.write(self.exif_info[key])
|
sys.stdout.write(f"{self.exif_info[key]}")
|
||||||
self.append_people_to_exif(people)
|
self.append_people_to_exif(people)
|
||||||
with open(file, 'wb') as new_image_file:
|
with open(file, 'wb') as new_image_file:
|
||||||
new_image_file.write(self.exif_info.get_file())
|
new_image_file.write(self.exif_info.get_file())
|
||||||
|
|
Loading…
Reference in a new issue