Commit 2ddaeb31 authored by OWKenobi's avatar OWKenobi Committed by AUTOMATIC1111

Update scripts.py

fixes bug #464, which happens when controls is None, which leads to args_to being None.
parent 874651e4
......@@ -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)
......
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