From f627dd469096a02f391abc5f30a3572c6cabef22 Mon Sep 17 00:00:00 2001 From: Alejandro Aristizabal Date: Tue, 10 Dec 2024 12:05:28 -0500 Subject: [PATCH] Allow passing None as execution --- cli/medperf/commands/execution/execution_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/medperf/commands/execution/execution_flow.py b/cli/medperf/commands/execution/execution_flow.py index 5d1f540f9..1514323b7 100644 --- a/cli/medperf/commands/execution/execution_flow.py +++ b/cli/medperf/commands/execution/execution_flow.py @@ -164,7 +164,7 @@ def __send_evaluator_report(self, status: str): self.__send_report("evaluation_report", status) def __send_report(self, field: str, status: str): - if self.execution.id is None: + if self.execution is None or self.execution.id is None: return execution_id = self.execution.id