Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New function safe_load() that do not stop parsing of EXIF after any error in data. #101

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Cykooz
Copy link

@Cykooz Cykooz commented Mar 13, 2020

Added new function safe_load() that do not stop parsing of EXIF after any error in data. Instead it collects all errors into special list. As a result the function returns tuple contains a dictionary with parsed EXIF and list of all errors.

…xceptions during parse of corrupted EXIF.

- Fixed exception in ``_ExifReader.get_ifd_dict()`` during parse of EXIF with invalid IFD pointers. Instead it this method returns dictionary with '_errors' key that has description of error.
…fter any error in data. Instead it collects all errors into special list. As a result the function returns tuple contains a dict with parsed EXIF and list of all errors.
…fter any error in data. Instead it collects all errors into special list. As a result the function returns tuple contains a dict with parsed EXIF and list of all errors.
@coveralls
Copy link

coveralls commented Mar 13, 2020

Coverage Status

Coverage decreased (-0.6%) to 94.247% when pulling 8f47729 on Cykooz:master into 3422fbe on hMatoba:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 94.252% when pulling 8f47729 on Cykooz:master into 3422fbe on hMatoba:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants