Removed unused f-string
This commit is contained in:
parent
f69a9bc217
commit
078fda2dc7
|
|
@ -67,7 +67,7 @@ def _download(url: str, root: str):
|
||||||
loop.update(len(buffer))
|
loop.update(len(buffer))
|
||||||
|
|
||||||
if hashlib.sha256(open(download_target, "rb").read()).hexdigest() != expected_sha256:
|
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
|
return download_target
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue