diff --git a/kamera_server.py b/kamera_server.py index 88f82fe..28dea97 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -28,6 +28,7 @@ def main(): pins[pin]['state'] = GPIO.input(pin) for pin in pins_in: pins[pin]['state'] = GPIO.input(pin) + # Put the pin dictionary into the template data dictionary: templateData = { 'pins' : pins,