From e79f3b14c3c7211815a2daf2262aed7f37d98046 Mon Sep 17 00:00:00 2001 From: Angelyr Date: Fri, 1 Nov 2024 10:44:22 -0700 Subject: [PATCH] null conditional --- .github/workflows/run-globus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-globus.py b/.github/workflows/run-globus.py index 7e2cd50..1344821 100644 --- a/.github/workflows/run-globus.py +++ b/.github/workflows/run-globus.py @@ -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()