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')