From b7ce3e5685b17f88f220ea537913bc06d088fa9f Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 1 May 2020 13:39:07 +0300 Subject: [PATCH] Don't use f-string without interpolation resolves pylint W1309(f-string-without-interpolation) (cherry picked from commit 2e585c98f35464ad68ed51b22800b0c3ddffcf98) --- src/lifted/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lifted/upload.py b/src/lifted/upload.py index c5942d61..a042079e 100644 --- a/src/lifted/upload.py +++ b/src/lifted/upload.py @@ -139,7 +139,7 @@ class Upload: if self.is_cancellable(): raise RuntimeError(f"Can't reset, status is {self.status}!") if not self.image_path: - raise RuntimeError(f"Can't reset, no image supplied yet!") + raise RuntimeError("Can't reset, no image supplied yet!") # self.error = None self._log("Resetting state") self.set_status("READY", status_callback)