diff options
Diffstat (limited to 'python/load_bbh_reports.py')
| -rw-r--r-- | python/load_bbh_reports.py | 2 |
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" ) |
