diff options
Diffstat (limited to 'astro/oskar')
-rwxr-xr-x | astro/oskar/wsclean.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/astro/oskar/wsclean.py b/astro/oskar/wsclean.py index 76e9229..511bb70 100755 --- a/astro/oskar/wsclean.py +++ b/astro/oskar/wsclean.py @@ -206,6 +206,9 @@ def main(): # Remove the output "-image" since it is identical to "-dirty" os.remove(nameprefix+"-image.fits") + if logfile: + logfile.close() + if __name__ == "__main__": main() |