Don't use f-string without interpolation

resolves pylint W1309(f-string-without-interpolation)

(cherry picked from commit 2e585c98f3)
This commit is contained in:
Alexander Todorov 2020-05-01 13:39:07 +03:00 committed by Brian C. Lane
parent 8045a95c63
commit b7ce3e5685

View File

@ -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)