diff options
Diffstat (limited to 'app/utils')
| -rw-r--r-- | app/utils/tasks.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/utils/tasks.py b/app/utils/tasks.py index 1d7eec8..61155de 100644 --- a/app/utils/tasks.py +++ b/app/utils/tasks.py @@ -55,6 +55,7 @@ def generate_user_task(user): continue potential_datasets.append((n_needed, dataset)) + # don't assign a dataset if there are no more datasets to annotate if len(potential_datasets) == 0: return None |
