If node in dynamo seems not working right

Hi all. I’m using the If node in dynamo but don’t know why when the test is true the result is not the list of true input. am I doing it wrong?

The if node doesn´t work that well:

Try this python script:

bool = IN[0]
result_true = IN[1]
result_false = IN[2]
output = result_false
if bool:
    output = result_true
OUT = output
1 Like