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