Zip download done.

This commit is contained in:
Leo Vasanko
2023-11-07 15:57:42 -08:00
parent 2695fc67f3
commit 4fd769cce2
2 changed files with 3 additions and 2 deletions

View File

@@ -190,7 +190,7 @@ async def zip_download(req, keys, zipfile, ext):
rel = None
if relpar or attr.key in wanted:
rel = [*relpar, name] if relpar else [name]
wanted.remove(attr.key)
wanted.discard(attr.key)
if isinstance(attr, DirEntry):
q.append((loc, rel, attr.dir))
elif rel: