Skip to content

Commit

Permalink
Allow passing None as execution
Browse files Browse the repository at this point in the history
  • Loading branch information
aristizabal95 committed Dec 10, 2024
1 parent eb1589f commit f627dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/medperf/commands/execution/execution_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f627dd4

Please sign in to comment.