From 4e88bc7a9fa17a08eb6bf4910ab31345c6cb9549 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Thu, 29 Jun 2023 18:49:33 +0200 Subject: [PATCH] Fix error in archive again --- pyhon/diagnose.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyhon/diagnose.py b/pyhon/diagnose.py index 9d2b9b8..6dd63b2 100644 --- a/pyhon/diagnose.py +++ b/pyhon/diagnose.py @@ -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" diff --git a/setup.py b/setup.py index 28a8d5d..c4afb9f 100644 --- a/setup.py +++ b/setup.py @@ -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,