Change the scaling logic and switch back to the socketio web server

This commit is contained in:
Patrick Jentsch
2022-04-22 16:36:12 +02:00
parent ccdd0d3faa
commit fc1389e8b1
8 changed files with 27 additions and 29 deletions

View File

@ -125,8 +125,6 @@ def import_corpus():
db.session.add(corpus_file)
db.session.flush(objects=[corpus_file])
db.session.refresh(corpus)
current_app.logger.warning(vrt_file)
current_app.logger.warning(corpus_file.path)
try:
shutil.copy2(vrt_file, corpus_file.path)
except Exception as e: