diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index ec7f8b8..9a7b4df 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -52,13 +52,6 @@ def control(): def move(): data = request.get_json() direction = data.get("direction") - - # Haal databaseverbinding op - db = get_db() - cursor = db.cursor() - cursor.execute("INSERT INTO command VALUES (%s)", (direction,)) - db.commit() - cursor.close() # Verstuur de richting via MQTT if direction: