Add app1
This commit is contained in:
parent
ebb2237d45
commit
809337c5eb
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ class image_classifier:
|
||||||
sys.stdout.write(self.exif_info[key])
|
sys.stdout.write(self.exif_info[key])
|
||||||
else:
|
else:
|
||||||
self._log.debug("No exif info in the image.")
|
self._log.debug("No exif info in the image.")
|
||||||
|
self.exif_info['APP1'] = ''
|
||||||
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