diff --git a/cvat/apps/lambda_manager/views.py b/cvat/apps/lambda_manager/views.py index d0b50168058a..834a4231eb37 100644 --- a/cvat/apps/lambda_manager/views.py +++ b/cvat/apps/lambda_manager/views.py @@ -526,7 +526,7 @@ def get_jobs(self): queue.deferred_job_registry.get_job_ids()) jobs = queue.job_class.fetch_many(job_ids, queue.connection) - return [LambdaJob(job) for job in jobs if job.meta.get("lambda")] + return [LambdaJob(job) for job in jobs if job and job.meta.get("lambda")] def enqueue(self, lambda_func, threshold, task, quality, mapping, cleanup, conv_mask_to_poly, max_distance, request,