From b805cbe501e463c13a66909472bb6cf626a9a552 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 10:29:09 +0100 Subject: [PATCH] klasse motor test --- kamera_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamera_server.py b/kamera_server.py index 7ba822b..125f8fc 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -38,7 +38,7 @@ def action(changePin, action): # Convert the pin from the URL into an integer: changePin = int(changePin) # Get the device name for the pin being changed: - deviceName = pins[changePin]['name'] + deviceName = pins_out[changePin]['name'] # If the action part of the URL is "on," execute the code indented below: if action == "on": # Set the pin high: