Fixed some syntax

master
Davide Bongiovanni 8 years ago
parent 77a4bdcc62
commit 1cb5200797

@ -30,11 +30,11 @@ if __name__ == '__main__':
event["name"] = data['name']
if data['secretTools']:
GPIO.output(pin_config['tools_grn_LED'], GPIO.HIGH)
else
else:
GPIO.output(pin_config['tools_red_LED'], GPIO.HIGH)
if data['fridge']:
GPIO.output(pin_config['fridge_grn_LED'], GPIO.HIGH)
else
else:
GPIO.output(pin_config['fridge_red_LED'], GPIO.HIGH)
timeout = time.time() + 5 # 5 seconds timeout
while wait:

Loading…
Cancel
Save