Fix error in archive again

pull/14/head v0.14.5
Andre Basche 1 year ago
parent b5d8a90d79
commit 4e88bc7a9f

@ -70,7 +70,7 @@ async def zip_archive(
) -> str: ) -> str:
data = await appliance_data(appliance, path, anonymous) data = await appliance_data(appliance, path, anonymous)
archive = data[0].parent archive = data[0].parent
shutil.make_archive(str(archive.parent), "zip", archive) shutil.make_archive(str(archive), "zip", archive)
shutil.rmtree(archive) shutil.rmtree(archive)
return f"{archive.stem}.zip" return f"{archive.stem}.zip"

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

Loading…
Cancel
Save