Update lightsensor.py

fixed things