Merge pull request #6707 from zaprudin/bugfix/prompts-from-file-progress-bar
fix progress bar behavior for "Prompts from file or textbox" script
This commit is contained in:
commit
27c1b3b816
|
@ -146,7 +146,7 @@ class Script(scripts.Script):
|
|||
else:
|
||||
args = {"prompt": line}
|
||||
|
||||
n_iter = args.get("n_iter", 1)
|
||||
n_iter = args.get("n_iter", p.n_iter)
|
||||
if n_iter != 1:
|
||||
job_count += n_iter
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue