From dabd50f4e625f3c8a1606ca36e380648a01c49a8 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 16 Sep 2019 12:24:40 +0100 Subject: Add database column for task assigned by admin This allows us to later manually assign tasks to users, which didn't work anymore after the task assignment rewrite. --- app/main/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/main/routes.py') diff --git a/app/main/routes.py b/app/main/routes.py index 75959a0..8d2aa6e 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -56,7 +56,7 @@ def assign(): user_tasks = [t for t in user_tasks if not t.done] # if the user has, for some reason, a unfinished assigned task, redirect to - # that + # that. This can happen if the admin has assigned this task. if len(user_tasks) > 0: task = user_tasks[0] return redirect(url_for("main.annotate", task_id=task.id)) -- cgit v1.2.3