Add EXIF timestamp to output

This commit is contained in:
Antonio J. Delgado 2021-09-06 20:18:31 +03:00
parent 69d924d7a8
commit b9474cc682

View file

@ -83,6 +83,7 @@ class image_classifier:
else: else:
self._log.debug("No exif info in the image.") self._log.debug("No exif info in the image.")
# get date # get date
self._log.debug(f"File time stamp: {self.exif_info.get('Image timestamp')} (type: {type(self.exif_info.get('Image timestamp'))})")
# move to destination # move to destination
else: else:
self._log.debug("Doesn't seem to be an image.") self._log.debug("Doesn't seem to be an image.")