From 910a4ea7baa83f4639f7b1a8651244ac6e23a068 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 12:13:38 +0100 Subject: [PATCH] motor test --- kamera_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kamera_server.py b/kamera_server.py index 185bfab..78d301c 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -67,10 +67,10 @@ def action(changePin, action): return render_template('main.html', **templateData) @kamera_server.route("/motor1_test") -def main(): +def motor_test(): m1.vorwaerts(10) # Pass the template data into the template main.html and return it to the user - return "fertig" + return 'fertig' if __name__ == "__main__": kamera_server.run(host='0.0.0.0')