You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using exifread for the last couple months and started reading the source code to understand how it works under the hood. I quickly noticed that there's a validation line in exifread.utils.get_gps_coords(...) that seems to be off:
That way, we ensure that even if one of the metadata fields is missing, we return an empty tuple (or maybe raise an exception?).
Huge props to all contributors, by the way! This library is super helpful, and I imagine keeping track of all the little tidbits that went into parsing data from a fairly complex standard is super hard. I appreciate it immensely.
The text was updated successfully, but these errors were encountered:
Hi!
I've been using
exifread
for the last couple months and started reading the source code to understand how it works under the hood. I quickly noticed that there's a validation line inexifread.utils.get_gps_coords(...)
that seems to be off:exif-py/exifread/utils.py
Line 64 in d60f18d
I might be mistaken / speaking out of place, but I think the line should be changed to:
That way, we ensure that even if one of the metadata fields is missing, we return an empty tuple (or maybe raise an exception?).
Huge props to all contributors, by the way! This library is super helpful, and I imagine keeping track of all the little tidbits that went into parsing data from a fairly complex standard is super hard. I appreciate it immensely.
The text was updated successfully, but these errors were encountered: