Fix function name

This commit is contained in:
Antonio J. Delgado 2021-09-06 21:25:56 +03:00
parent 1bafd2480a
commit e9c8e9ac06

View file

@ -81,7 +81,7 @@ class image_classifier:
else: else:
self._log.debug("Doesn't seem to be an image.") self._log.debug("Doesn't seem to be an image.")
def append_people_to_exif(self, people): def append_people(self, people):
if self.is_json(self.iptc_info.get('user_comment')): if self.is_json(self.iptc_info.get('user_comment')):
data = json.loads(self.iptc_info['user_comment']) data = json.loads(self.iptc_info['user_comment'])
if 'Person shown' not in data: if 'Person shown' not in data: