diff --git a/setup.py b/setup.py index 289802c..a9e2f94 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ README = (HERE / "README.md").read_text() setup( name='worthless', - version='2.2.1', + version='2.2.2', packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'], url='https://git.froggi.es/tretrauit/worthless-launcher', license='MIT License', diff --git a/worthless/installer.py b/worthless/installer.py index c9ba95d..6e65b7a 100644 --- a/worthless/installer.py +++ b/worthless/installer.py @@ -349,7 +349,7 @@ class Installer: async def extract_and_patch(old_file, diff_file): diff_path = self.temp_path.joinpath(diff_file) - if await diff_path.is_file(): + if diff_path.is_file(): await diff_path.unlink(missing_ok=True) await asyncio.to_thread(archive.extract, diff_file, self.temp_path) patch_path = self.temp_path.joinpath(diff_file)