Skip to content

Commit

Permalink
Fix bug in exit status check logic
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Jan 5, 2025
1 parent c4dcfc4 commit f1e7bf2
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 @@ -132,7 +132,7 @@ def generate_report_text(self, report_dict):
def generate_failure_report(self):
"""Generate a html for reporting the failure of the `QeAppWorkChain`."""
process_node = self.fetch_process_node()
if not process_node and process_node.exit_status:
if not (process_node and process_node.exit_status):
return
final_calcjob = self._get_final_calcjob(process_node)
env = Environment()
Expand Down

0 comments on commit f1e7bf2

Please sign in to comment.