Removed unused f-string

This commit is contained in:
sarveshwar-s 2022-07-26 00:49:41 +02:00 committed by GitHub
parent f69a9bc217
commit 078fda2dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def _download(url: str, root: str):
loop.update(len(buffer))
if hashlib.sha256(open(download_target, "rb").read()).hexdigest() != expected_sha256:
raise RuntimeError(f"Model has been downloaded but the SHA256 checksum does not not match")
raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match")
return download_target