aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/load_bbh_reports.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/load_bbh_reports.py b/python/load_bbh_reports.py
index 36849a92..bd1dd6db 100644
--- a/python/load_bbh_reports.py
+++ b/python/load_bbh_reports.py
@@ -101,7 +101,7 @@ def download_val_report(date):
for f in sftp.client.listdir("frombbh"):
if f.split(".")[1] == f"{date:%Y%m%d}":
sftp.client.get(f"frombbh/{f}", localpath=reports_dir / f)
- elif f.split(".")[1].split("_")[0] == f"{date:%Y%m%d}":
+ elif f.split(".")[1].split("_")[0] == f"{date:%Y%m%d}" and "BOND" in f:
sftp.client.get(
f"frombbh/{f}", localpath=reports_dir / f"BBH_BOND.{date:%Y%m%d}.csv"
)