code improve

This commit is contained in:
Terry Jia 2026-03-02 15:38:00 -05:00
parent 538d127edb
commit c39c3682e2

View File

@ -884,9 +884,6 @@ async def validate_inputs(prompt_id, prompt, item, validated):
if "__value__" in val:
val = val["__value__"]
inputs[x] = val
elif "__type__" in val and "__value__" in val:
val = val["__value__"]
inputs[x] = val
if input_type == "INT":
val = int(val)