Commit 02622b19 authored by ふぁ's avatar ふぁ Committed by AUTOMATIC1111

update scripts.py

parent 30034380
...@@ -142,7 +142,7 @@ class ScriptRunner: ...@@ -142,7 +142,7 @@ class ScriptRunner:
return [ui.gr_show(True if i == 0 else args_from <= i < args_to) for i in range(len(inputs))] return [ui.gr_show(True if i == 0 else args_from <= i < args_to) for i in range(len(inputs))]
def init_field(title): def init_field(title):
if title == "None": if title == 'None':
return return
script_index = self.titles.index(title) script_index = self.titles.index(title)
script = self.scripts[script_index] script = self.scripts[script_index]
......
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