Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
4e88bc7a9f |
@ -70,7 +70,7 @@ async def zip_archive(
|
||||
) -> str:
|
||||
data = await appliance_data(appliance, path, anonymous)
|
||||
archive = data[0].parent
|
||||
shutil.make_archive(str(archive.parent), "zip", archive)
|
||||
shutil.make_archive(str(archive), "zip", archive)
|
||||
shutil.rmtree(archive)
|
||||
return f"{archive.stem}.zip"
|
||||
|
||||
|
Reference in New Issue
Block a user