diff --git a/server.py b/server.py index 7412d16..369baa4 100644 --- a/server.py +++ b/server.py @@ -38,10 +38,7 @@ def landing(): @socketio.on('init') def handle_init(): can_start = app.initialize() - if can_start: - response = {'status': 'ok'} - else: - response = {'status': 'error'} + emit('toast', {'msg': "App initialized!", 'icon': 'done'}) @socketio.on('mainSearch') def mainSearch(data):