diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-12-25 06:16:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 06:16:08 +0000 |
commit | b12de850ae8bcd6f99817c6622b4cd2f04410ff5 (patch) | |
tree | df26b5510f07b645e7edf68c47220f595ef5a538 /scripts/prompts_from_file.py | |
parent | a66514e1a35a3d140e6242e553b5fd0c5bec42f4 (diff) | |
parent | 3bf5591efe9a9f219c6088be322a87adc4f48f95 (diff) | |
download | stable-diffusion-webui-gfx803-b12de850ae8bcd6f99817c6622b4cd2f04410ff5.tar.gz stable-diffusion-webui-gfx803-b12de850ae8bcd6f99817c6622b4cd2f04410ff5.tar.bz2 stable-diffusion-webui-gfx803-b12de850ae8bcd6f99817c6622b4cd2f04410ff5.zip |
Merge pull request #5992 from yuvalabou/F541
Fix F541: f-string without any placeholders
Diffstat (limited to 'scripts/prompts_from_file.py')
-rw-r--r-- | scripts/prompts_from_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prompts_from_file.py b/scripts/prompts_from_file.py index 6e118ddb..e8386ed2 100644 --- a/scripts/prompts_from_file.py +++ b/scripts/prompts_from_file.py @@ -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:
|