From 078fda2dc7114a6a24a6b77fad0e143a49262a60 Mon Sep 17 00:00:00 2001 From: sarveshwar-s <59520591+sarveshwar-s@users.noreply.github.com> Date: Tue, 26 Jul 2022 00:49:41 +0200 Subject: [PATCH] Removed unused f-string --- clip/clip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clip/clip.py b/clip/clip.py index 9c045ac24..257511e1d 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