Don't use f-string without interpolation
resolves pylint W1309(f-string-without-interpolation)
This commit is contained in:
parent
26e3bc555a
commit
2e585c98f3
@ -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