Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Misspell in next_task debug #3240

Merged
merged 1 commit into from
Nov 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion label_studio/projects/functions/next_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def get_next_task(user, prepared_tasks, project, dm_queue, assigned_flag=None):
count = next_task.annotations.filter(was_cancelled=False).count()
task_overlap_reached = count >= next_task.overlap
global_overlap_reached = count >= project.maximum_annotations
if next_task.is_labeled or not task_overlap_reached or global_overlap_reached:
if next_task.is_labeled or task_overlap_reached or global_overlap_reached:
from tasks.serializers import TaskSimpleSerializer

local = dict(locals())
Expand Down