diff --git a/setup.py b/setup.py index 7ac28cc..34a6560 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ README = (HERE / "README.md").read_text() setup( name='worthless', - version='2.2.10', + version='2.2.11', 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 b97a94d..e9afe36 100644 --- a/worthless/installer.py +++ b/worthless/installer.py @@ -274,7 +274,7 @@ class Installer: :param voiceover_archive: :return: True if this is a full archive, else False. """ - vo_lang = Installer.get_voiceover_archive_language(voiceover_archive) + vo_lang = await Installer.get_voiceover_archive_language(voiceover_archive) with zipfile.ZipFile(voiceover_archive, 'r') as f: archive_path = zipfile.Path(f) files = (await asyncio.to_thread(f.read, "Audio_{}_pkg_version".format(vo_lang))).decode().split("\n")