fix: fix
This commit is contained in:
@ -4,4 +4,4 @@ Launcher = launcher.Launcher
|
||||
Installer = installer.Installer
|
||||
|
||||
|
||||
__version__ = "2.2.12"
|
||||
__version__ = "2.2.13"
|
||||
|
||||
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user