Skip to content

Commit

Permalink
null conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 1, 2024
1 parent 872bbcb commit e79f3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-globus.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ def run_on_endpoint(name, branch, install_file):
text_file.close()
if result[0].returncode == 0:
with open(name+"-result/Test.log", "w") as text_file:
text_file.write("%s" % result[1].stdout)
text_file.write("%s" % (result[1] and result[1].stdout))
text_file.close()

0 comments on commit e79f3b1

Please sign in to comment.