|
|
@ -229,6 +229,8 @@ def telemetered_bore_downloader(bore_ids, start_date, end_date, download_dir):
|
|
|
|
|
|
|
|
|
|
|
|
# Stop logging
|
|
|
|
# Stop logging
|
|
|
|
logging.shutdown()
|
|
|
|
logging.shutdown()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if os.path.isfile(log_name)
|
|
|
|
with open(log_name, 'r') as f:
|
|
|
|
with open(log_name, 'r') as f:
|
|
|
|
log_data = f.read()
|
|
|
|
log_data = f.read()
|
|
|
|
|
|
|
|
|
|
|
@ -240,6 +242,7 @@ def telemetered_bore_downloader(bore_ids, start_date, end_date, download_dir):
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
os.remove(log_name)
|
|
|
|
os.remove(log_name)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Close browser
|
|
|
|
driver.quit()
|
|
|
|
driver.quit()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|