Skip to content

Commit

Permalink
Fix exit status check
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Jan 2, 2025
1 parent 36af095 commit e1e69d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiidalab_qe/app/result/components/summary/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def generate_failure_report(self):
"""Generate a html for reporting the failure of the `QeAppWorkChain`."""
if not (process_node := self.fetch_process_node()):
return
if process_node.exit_status == 0:
if not process_node.exit_status:
return
final_calcjob = self._get_final_calcjob(process_node)
env = Environment()
Expand Down

0 comments on commit e1e69d6

Please sign in to comment.