Don't use f-string without interpolation
resolves pylint W1309(f-string-without-interpolation)
(cherry picked from commit 2e585c98f3
)
This commit is contained in:
parent
8045a95c63
commit
b7ce3e5685
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user