From c5478aac7b9e007a2659d36b57ebe148849e542a Mon Sep 17 00:00:00 2001 From: sarveshwar-s <59520591+sarveshwar-s@users.noreply.github.com> Date: Wed, 27 Jul 2022 09:30:08 +0200 Subject: [PATCH] Removed unused f-string (#273) --- clip/clip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clip/clip.py b/clip/clip.py index 9c045ac..257511e 100644 --- a/clip/clip.py +++ b/clip/clip.py @@ -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