From 794556c74b18de260656741cde77549d8165a72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Ferradas?= Date: Fri, 20 Aug 2021 02:21:34 +0100 Subject: [PATCH] add None check before dependencies_are_met (#1532) --- rq/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/queue.py b/rq/queue.py index 68d72c5..99f651f 100644 --- a/rq/queue.py +++ b/rq/queue.py @@ -599,7 +599,7 @@ nd dependent_job_ids, connection=self.connection, serializer=self.serializer - ) if dependent_job.dependencies_are_met( + ) if dependent_job and dependent_job.dependencies_are_met( exclude_job_id=job.id, pipeline=pipe )