merge foutje opgelost

This commit is contained in:
2025-01-14 11:56:06 +01:00
parent b48243f831
commit 5844387b19

View File

@@ -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