Update scripts.py
fixes bug #464, which happens when controls is None, which leads to args_to being None.
This commit is contained in:
parent
874651e4d2
commit
2ddaeb318a
|
@ -92,6 +92,7 @@ class ScriptRunner:
|
|||
|
||||
for script in self.scripts:
|
||||
script.args_from = len(inputs)
|
||||
script.args_to = len(inputs)
|
||||
|
||||
controls = wrap_call(script.ui, script.filename, "ui", is_img2img)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user