fix: fix
This commit is contained in:
@ -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