update comment

This commit is contained in:
Lt.Dr.Data 2023-03-28 13:59:50 +09:00
parent 82f710582c
commit 6dafab7268

View File

@ -247,7 +247,7 @@ def validate_inputs(prompt, item):
if isinstance(type_input, list): if isinstance(type_input, list):
if val not in type_input: if val not in type_input:
# bypass validation on special output # bypass validation on special input
if not val.endswith(" [OUT]") and not val.endswith(" [TEMP]"): if not val.endswith(" [OUT]") and not val.endswith(" [TEMP]"):
return (False, "Value not in list. {}, {}: {} not in {}".format(class_type, x, val, type_input)) return (False, "Value not in list. {}, {}: {} not in {}".format(class_type, x, val, type_input))
return (True, "") return (True, "")