diff options
author | Vespinian <vespinian@proton.me> | 2023-02-28 04:45:59 +0000 |
---|---|---|
committer | Vespinian <vespinian@proton.me> | 2023-02-28 04:45:59 +0000 |
commit | c6c2a59333c77dffff49a748bfed8c54af6e2abd (patch) | |
tree | a0a3160cf8e053aea7a9f810c042823a2fc9d5ea | |
parent | a39c4cf766a9b0f18972fc52bcf5189173f434c6 (diff) | |
download | stable-diffusion-webui-gfx803-c6c2a59333c77dffff49a748bfed8c54af6e2abd.tar.gz stable-diffusion-webui-gfx803-c6c2a59333c77dffff49a748bfed8c54af6e2abd.tar.bz2 stable-diffusion-webui-gfx803-c6c2a59333c77dffff49a748bfed8c54af6e2abd.zip |
comment clarification
-rw-r--r-- | modules/api/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/api.py b/modules/api/api.py index d4c0c152..248922d2 100644 --- a/modules/api/api.py +++ b/modules/api/api.py @@ -191,7 +191,7 @@ class Api: script_args[selectable_scripts.args_from:selectable_scripts.args_to] = request.script_args script_args[0] = selectable_idx + 1 else: - # if 0 then none + # when [0] = 0 no selectable script to run script_args[0] = 0 # Now check for always on scripts |