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):
client = corpus_analysis_clients.get(request.sid)
if client is None:
socketio.emit('query', '[424]: Failed Dependency',
room=request.sid)
socketio.emit('query', '[424]: Failed Dependency', room=request.sid)
return
client.select_corpus('CORPUS')
try: