diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-09-16 12:24:40 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-09-16 12:24:40 +0100 |
| commit | dabd50f4e625f3c8a1606ca36e380648a01c49a8 (patch) | |
| tree | 2b5787b27afaa54dc54a9b208876bc9b9bccf896 /app/main | |
| parent | Set default configs to our desired numbers (diff) | |
| download | AnnotateChange-dabd50f4e625f3c8a1606ca36e380648a01c49a8.tar.gz AnnotateChange-dabd50f4e625f3c8a1606ca36e380648a01c49a8.zip | |
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.
Diffstat (limited to 'app/main')
| -rw-r--r-- | app/main/routes.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |
