Open DeeJay opened 10 years ago
Cosmetic only.
In file scratch_gpio / scratchgpio_handler5.py
In class ScratchSender Define function broadcast_pin_update at about line 322: elif "pizazz" in ADDON:
try: sensor_name = ["left","right",][([13,12].index(pin))] except: print "pi2go input out of range" ### <<< - WRONG ADDON NAME HERE sensor_name = "pin" + str(pin) pass sensorValue = ("on","off")[value == 1]
It is only a human-readable trace, not functional code, but I think perhaps it should say print "pizazz input out of range"
Thanks for this - only just seen the notice ! :)
Any feedback welcome :)
Cosmetic only.
In file scratch_gpio / scratchgpio_handler5.py
In class ScratchSender Define function broadcast_pin_update at about line 322: elif "pizazz" in ADDON:
print pin
try: sensor_name = ["left","right",][([13,12].index(pin))] except: print "pi2go input out of range" ### <<< - WRONG ADDON NAME HERE sensor_name = "pin" + str(pin) pass sensorValue = ("on","off")[value == 1]
It is only a human-readable trace, not functional code, but I think perhaps it should say print "pizazz input out of range"