From 5844387b192f885017473fad2943b893702ddb04 Mon Sep 17 00:00:00 2001 From: Sam Hos Date: Tue, 14 Jan 2025 11:56:06 +0100 Subject: [PATCH] merge foutje opgelost --- src/Python/flask/web/app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index 84b2fd7..ed6603d 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -59,9 +59,6 @@ mqtt_client.subscribe("kobuki/cam") mqtt_client.on_message = on_message # this line needs to be under the function definition otherwise it can't find which function it needs to use -mqtt_client.on_message = on_message # this line needs to be under the function definition otherwise it can't find which function it needs to use - - # Database connectie-functie def get_db(): if 'db' not in g: # 'g' is specifiek voor een request en leeft zolang een request duurt