Skip to content

Commit

Permalink
added exit 0 to download script
Browse files Browse the repository at this point in the history
  • Loading branch information
ledm committed Jun 4, 2024
1 parent 32c5090 commit 6747ff0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bgcval2/download_from_mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6747ff0

Please sign in to comment.