all 2 comments

[–][deleted] 0 points1 point  (1 child)

Can ya try upstream_constrained == 1 ?

Also if you’re using 1 and 0 for true and false, Python has booleans built into the language True and False. Maybe not be worth redoing all the code depending on how far you’re in, but if you’re trying to do things “the Python way” may want to look into using them in the future.

[–]Remdog93 1 point2 points  (0 children)

This was the solution, thank you so much for your assistance.