This commit is contained in:
Patrick Jentsch 2020-03-12 14:18:07 +01:00
parent bcbb67b707
commit f4ac584668

View File

@ -31,8 +31,7 @@ def init_corpus_analysis(corpus_id):
def corpus_analysis_query(query): def corpus_analysis_query(query):
client = corpus_analysis_clients.get(request.sid) client = corpus_analysis_clients.get(request.sid)
if client is None: if client is None:
socketio.emit('query', '[424]: Failed Dependency', socketio.emit('query', '[424]: Failed Dependency', room=request.sid)
room=request.sid)
return return
client.select_corpus('CORPUS') client.select_corpus('CORPUS')
try: try: