Commit d753a9df authored by Zaprudin Aleksey's avatar Zaprudin Aleksey
Browse files

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

parent 82725f0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: