Open nathanielrindlaub opened 1 year ago
Feel free to update as you like. But before committing please update tests. I will not be able to look at this before Monday.
Oh, I'm now seeing that there aren't any tests other than test_evaluate_make()
for Cuddelinks. I'll look into it and try to add some.
@postfalk - when I do pass in a Cuddelink email with attached images, the
self.get_extra_exif()
method correctly extracts the EXIF from the image, but theself.format_and_merge_exif_data()
then returns an empty dict. I'm sure this is something minor & I can look into it an fix it, but I'm concerned why the cameras test wouldn't have caught this.Also - mind if I rename the
get_extra_exif
method? I consider EXIF data the metadata that we extract directly from the image file using Exiftool; the "extra" stuff is more what we extract from other parts of the email (body, subject line, etc) and then write to the images' EXIF data.Here's an example of the
extra_exif
returned by an image:and
self.format_and_merge_exif_data(extra_data=extra_exif)
for that same image returns an empty dict{}
.