busy with sending command to database

This commit is contained in:
ishak jmilou.ishak
2024-12-11 18:45:22 +01:00
parent e77aa4b2dc
commit 5c4a0f1e9d
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1 @@
# retro sprint 4

View File

@@ -72,5 +72,8 @@ def database():
print(f"Database error: {e}") print(f"Database error: {e}")
return "Er is een fout opgetreden bij het ophalen van de databasegegevens.", 500 return "Er is een fout opgetreden bij het ophalen van de databasegegevens.", 500
def add_command(command):
command_query = "INSERT INTO kobuki (command) VALUES ();"
if __name__ == '__main__': if __name__ == '__main__':
app.run(debug=True, port=5000) app.run(debug=True, port=5000)