From 6747ff0c2d161ffeb82e328d15ad0e17438e963f Mon Sep 17 00:00:00 2001 From: Lee de Mora Date: Tue, 4 Jun 2024 15:39:19 +0100 Subject: [PATCH] added exit 0 to download script --- bgcval2/download_from_mass.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bgcval2/download_from_mass.py b/bgcval2/download_from_mass.py index 7828a013..c6aa67f9 100755 --- a/bgcval2/download_from_mass.py +++ b/bgcval2/download_from_mass.py @@ -502,6 +502,8 @@ def download_from_mass( stdout=subprocess.PIPE) output = process.communicate()[0] + download_script_txt = ''.join([download_script_txt, '\nexit 0\n']) # ends the self-destruct timer. + print('writing file:',download_script_path, '\nfile contents:\n', download_script_txt) outfile = open(download_script_path, 'w') outfile.write(download_script_txt)