diff --git a/scenes/download.py b/scenes/download.py index a347cb66296f3e1e9b1a4ad140ea8ff91336b53e..2b9aaafbdce1999981f7ea7dea3137ec312d12f2 100644 --- a/scenes/download.py +++ b/scenes/download.py @@ -248,7 +248,6 @@ class TheiaDownloader: if not is_file_complete(filename, description["checksum"]): print("Downloading {}".format(acq_date)) curl_url(url, postdata=None, out_file=filename, header=header) - file_handle.close() else: print("{} already downloaded. Skipping.".format(acq_date)) description["local_file"] = filename