max_min
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
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
Sign up
User registration is currently not allowed.