Fix error in archive again

This commit is contained in:
Andre Basche 2023-06-29 18:49:33 +02:00
parent b5d8a90d79
commit 4e88bc7a9f
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -7,7 +7,7 @@ with open("README.md", "r") as f:
setup(
name="pyhOn",
version="0.14.4",
version="0.14.5",
author="Andre Basche",
description="Control hOn devices with python",
long_description=long_description,