aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/load_bbh_reports.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/load_bbh_reports.py b/python/load_bbh_reports.py
index bd1dd6db..59d72c23 100644
--- a/python/load_bbh_reports.py
+++ b/python/load_bbh_reports.py
@@ -97,6 +97,7 @@ def load_reports(date):
def download_val_report(date):
reports_dir = DAILY_DIR / str(date) / "Reports"
+ reports_dir.mkdir(parents=True, exist_ok=True)
sftp = SftpClient.from_creds("bbh")
for f in sftp.client.listdir("frombbh"):
if f.split(".")[1] == f"{date:%Y%m%d}":