Removed unused f-string (#273)

This commit is contained in:
sarveshwar-s
2022-07-27 09:30:08 +02:00
committed by GitHub
parent f69a9bc217
commit c5478aac7b

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