diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 04:52:45 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 04:52:45 +0000 |
commit | 762265eab58cdb8f2d6398769bab43d8b8db0075 (patch) | |
tree | 7766901f867d84cf0662b2ae0d5bc55c673a08e8 /modules/prompt_parser.py | |
parent | a617d6488275a58da0627b3fed5f53593b2eb8b2 (diff) | |
download | stable-diffusion-webui-gfx803-762265eab58cdb8f2d6398769bab43d8b8db0075.tar.gz stable-diffusion-webui-gfx803-762265eab58cdb8f2d6398769bab43d8b8db0075.tar.bz2 stable-diffusion-webui-gfx803-762265eab58cdb8f2d6398769bab43d8b8db0075.zip |
autofixes from ruff
Diffstat (limited to 'modules/prompt_parser.py')
-rw-r--r-- | modules/prompt_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/prompt_parser.py b/modules/prompt_parser.py index 69665372..e084e948 100644 --- a/modules/prompt_parser.py +++ b/modules/prompt_parser.py @@ -92,7 +92,7 @@ def get_learned_conditioning_prompt_schedules(prompts, steps): def get_schedule(prompt):
try:
tree = schedule_parser.parse(prompt)
- except lark.exceptions.LarkError as e:
+ except lark.exceptions.LarkError:
if 0:
import traceback
traceback.print_exc()
|