aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-05 17:40:48 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-05 17:40:48 +0100
commit1f11b25266250e0cdd64fbfd063e75e4177d4bc9 (patch)
treee2e5ba9df7b412cbd0037b0072d89c6e3d3b7c90
parentBump version and update changelog (diff)
downloadAnnotateChange-1f11b25266250e0cdd64fbfd063e75e4177d4bc9.tar.gz
AnnotateChange-1f11b25266250e0cdd64fbfd063e75e4177d4bc9.zip
Send dataset name in backup email too
-rw-r--r--app/main/routes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main/routes.py b/app/main/routes.py
index b961b60..13fe3f8 100644
--- a/app/main/routes.py
+++ b/app/main/routes.py
@@ -88,6 +88,7 @@ def annotate(task_id):
# send the annotation as email to the admin for backup
record = {
"user_id": task.annotator_id,
+ "dataset_name": task.dataset.name,
"dataset_id": task.dataset_id,
"task_id": task.id,
"annotations_raw": annotation,