max_min

1.40K viewsCSS Questions
0

hmmm…

Any idea what I’m doing wrong?

elif cnfg[“takeover_mode”] == “Value scaling”: new_val = self.value_scaling(cnfg, max_min)
UnboundLocalError
:
local variable ‘max_min’ referenced before assignment

admin Changed status to publish
Attached Files:
0

What listener are you using to run this code? i.e. if you’re doing it when the script initialised then it’s probably being ran before cnfg[“takeover_mode”] is created.

admin Changed status to publish
Attached Files:
You are viewing 1 out of 3 answers, click here to view all answers.