mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-27 23:31:16 -07:00
fix F541 f-string without any placeholders
This commit is contained in:
parent
5927d3fa95
commit
3bf5591efe
10 changed files with 18 additions and 18 deletions
|
|
@ -140,7 +140,7 @@ class Script(scripts.Script):
|
|||
try:
|
||||
args = cmdargs(line)
|
||||
except Exception:
|
||||
print(f"Error parsing line [line] as commandline:", file=sys.stderr)
|
||||
print(f"Error parsing line {line} as commandline:", file=sys.stderr)
|
||||
print(traceback.format_exc(), file=sys.stderr)
|
||||
args = {"prompt": line}
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue