diff options
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/images.py b/libmat2/images.py index 86e6b17..e55b765 100644 --- a/libmat2/images.py +++ b/libmat2/images.py | |||
| @@ -63,7 +63,7 @@ class PNGParser(exiftool.ExiftoolParser): | |||
| 63 | 63 | ||
| 64 | try: # better fail here than later | 64 | try: # better fail here than later |
| 65 | cairo.ImageSurface.create_from_png(self.filename) | 65 | cairo.ImageSurface.create_from_png(self.filename) |
| 66 | except Exception: # pragma: no cover | 66 | except: # pragma: no cover |
| 67 | # Cairo is returning some weird exceptions :/ | 67 | # Cairo is returning some weird exceptions :/ |
| 68 | raise ValueError | 68 | raise ValueError |
| 69 | 69 | ||
