Zip download done.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user