mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-06-21 01:23:01 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e88bc7a9f |
+1
-1
@@ -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