Merge pull request #102 from radarhere/jpeg-safe-dpi-read

Updated comment
This commit is contained in:
Alexander Karpinsky 2021-08-02 12:34:36 +03:00 committed by GitHub
commit b2a503e466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,7 @@ def APP(self, marker):
# SyntaxError for invalid/unreadable EXIF
# KeyError for dpi not included
# ZeroDivisionError for invalid dpi rational value
# ValueError for dpi being an invalid float
# ValueError or TypeError for dpi being an invalid float
self.info["dpi"] = 72, 72