aboutsummaryrefslogtreecommitdiff
path: root/app/auth/routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/auth/routes.py')
-rw-r--r--app/auth/routes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/auth/routes.py b/app/auth/routes.py
index 0556233..21b1a67 100644
--- a/app/auth/routes.py
+++ b/app/auth/routes.py
@@ -97,6 +97,8 @@ def login():
annotator_id=current_user.id, done=False
).all()
for task in user_tasks:
+ if task.admin_assigned:
+ continue
anns = Annotation.query.filter_by(task_id=task.id).all()
if len(anns) > 0:
flash(