Commit d753a9df authored by Zaprudin Aleksey's avatar Zaprudin Aleksey

fix progress bar behavior for "Prompts from file or textbox" script

parent 82725f0a
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment