diff --git a/setup.py b/setup.py index cfb2e18..889b0dd 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ README = (HERE / "README.md").read_text() setup( name='worthless', - version='2.2.12', + version='2.2.13', 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/__init__.py b/worthless/__init__.py index 5d259fe..56d0dff 100644 --- a/worthless/__init__.py +++ b/worthless/__init__.py @@ -4,4 +4,4 @@ Launcher = launcher.Launcher Installer = installer.Installer -__version__ = "2.2.12" +__version__ = "2.2.13" diff --git a/worthless/installer.py b/worthless/installer.py index 7cdcd0d..d3a95c8 100644 --- a/worthless/installer.py +++ b/worthless/installer.py @@ -544,7 +544,7 @@ class Installer: contents = await pkg_version.read_text() async def verify_file(file_to_verify, md5): - file_md5 = asyncio.to_thread(calculate_md5, file_to_verify) + file_md5 = await asyncio.to_thread(calculate_md5, file_to_verify) if file_md5 == md5: return None if ignore_mismatch: