Add LogEntry after document consumption

See #319
This commit is contained in:
CkuT
2018-03-11 17:09:43 +01:00
parent 4088c43a16
commit feab3e5dfc
2 changed files with 21 additions and 1 deletions

View File

@@ -15,13 +15,15 @@ class DocumentsConfig(AppConfig):
set_tags,
run_pre_consume_script,
run_post_consume_script,
cleanup_document_deletion
cleanup_document_deletion,
set_log_entry
)
document_consumption_started.connect(run_pre_consume_script)
document_consumption_finished.connect(set_tags)
document_consumption_finished.connect(set_correspondent)
document_consumption_finished.connect(set_log_entry)
document_consumption_finished.connect(run_post_consume_script)
post_delete.connect(cleanup_document_deletion)