diff --git a/server.py b/server.py index 4fb70ce..46a07fe 100644 --- a/server.py +++ b/server.py @@ -71,6 +71,7 @@ class SocketInterface(MessageInterface): socketio.emit(message, value) else: socketio.emit(message) + socketio.sleep(0) socket_interface = SocketInterface() @@ -131,7 +132,7 @@ def shutdown(interface=None): def shutdown_handler(signalnum, frame): shutdown() - + @server.route('/') def landing(): return render_template('index.html')