diff options
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/archive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py index cfc9671..ec44ebd 100644 --- a/libmat2/archive.py +++ b/libmat2/archive.py | |||
| @@ -388,7 +388,7 @@ class ZipParser(ArchiveBasedAbstractParser): | |||
| 388 | try: | 388 | try: |
| 389 | with zipfile.ZipFile(self.filename): | 389 | with zipfile.ZipFile(self.filename): |
| 390 | pass | 390 | pass |
| 391 | except zipfile.BadZipFile: | 391 | except (zipfile.BadZipFile, OSError): |
| 392 | raise ValueError | 392 | raise ValueError |
| 393 | 393 | ||
| 394 | @staticmethod | 394 | @staticmethod |
