Loading libmat2/images.py +2 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,8 @@ class PNGParser(exiftool.ExiftoolParser): try: # better fail here than later cairo.ImageSurface.create_from_png(self.filename) except MemoryError: # pragma: no cover except Exception: # pragma: no cover # Cairo is returning some weird exceptions :/ raise ValueError def remove_all(self) -> bool: Loading Loading
libmat2/images.py +2 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,8 @@ class PNGParser(exiftool.ExiftoolParser): try: # better fail here than later cairo.ImageSurface.create_from_png(self.filename) except MemoryError: # pragma: no cover except Exception: # pragma: no cover # Cairo is returning some weird exceptions :/ raise ValueError def remove_all(self) -> bool: Loading