mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 04:14:58 +00:00
want to check data
This commit is contained in:
@@ -78,10 +78,11 @@ def move():
|
||||
cursor = db_connection.cursor()
|
||||
sql_command = "INSERT INTO command (command) VALUES (%s)"
|
||||
cursor.execute(sql_command, (direction,))
|
||||
|
||||
db_connection.commit()
|
||||
cursor.close()
|
||||
db_connection.close()
|
||||
|
||||
print(f"check: {data}")
|
||||
return jsonify({"status": "success", "direction": direction})
|
||||
|
||||
@app.route("/database")
|
||||
|
Reference in New Issue
Block a user