ianare / exif-py

Easy to use Python module to extract Exif metadata from digital image files.
BSD 3-Clause "New" or "Revised" License
836 stars 191 forks source link

don't let debug logging trigger an exception #196

Open rascalking opened 6 months ago

rascalking commented 6 months ago

This addresses #188. I don't have the rights to the image I've been testing with (a webp image with no exif data at all), but I'm trying to generate one I can upload to https://github.com/ianare/exif-samples.

rascalking commented 4 months ago

I don't think the test failures are related to this change (see, eg, https://github.com/ianare/exif-py/pull/189#issuecomment-1773992822), but I'm happy to make changes if they are.