diff --git a/app/corpora/events.py b/app/corpora/events.py index 601cd654..3da43763 100644 --- a/app/corpora/events.py +++ b/app/corpora/events.py @@ -55,6 +55,7 @@ def observe_corpus_analysis_connection(app, corpus_id, session_id): username='opaque') analysis_client.connect() analysis_clients[session_id] = analysis_client + socketio.emit('init_corpus_analysis', 'Ready', room=session_id) while session_id in connected_sessions: try: analysis_client.ctrl_ping() diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2 index 2febaeab..1f0e4647 100644 --- a/app/templates/base.html.j2 +++ b/app/templates/base.html.j2 @@ -158,9 +158,7 @@
- {% block main_block %} - {% endblock %} - + {% block main_block %}{% endblock %}