fix: RuntimeWarning: coroutine 'Installer.get_voiceover_archive_language' was never awaited
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user