We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad033a8 commit c275ab1Copy full SHA for c275ab1
unblob/handlers/archive/sevenzip.py
@@ -107,7 +107,11 @@ class MultiVolumeSevenZipHandler(DirectoryHandler):
107
108
def calculate_multifile(self, file: Path) -> Optional[MultiFile]:
109
paths = sorted(
110
- [p for p in file.parent.glob(f"{file.stem}.*") if p.resolve().exists()]
+ [
111
+ p
112
+ for p in file.parent.glob(f"{file.stem}.*")
113
+ if p.resolve().exists() and p.stat().st_size > 0
114
+ ]
115
)
116
if not paths:
117
return None
0 commit comments