Update light.py

This commit is contained in:
tpollina 2019-12-13 14:13:23 -08:00 committed by GitHub
parent 37fb6bffd8
commit e03eaa9d08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(21,GPIO.OUT)
state = int(sys.argv[1])
state = str(sys.argv[1])
def light(state):