diff options
Diffstat (limited to 'python/collateral/gs.py')
| -rw-r--r-- | python/collateral/gs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/collateral/gs.py b/python/collateral/gs.py index 03bb4be0..c747f940 100644 --- a/python/collateral/gs.py +++ b/python/collateral/gs.py @@ -12,6 +12,8 @@ paths = { def download_files(em, count=20, *, fund="Serenitas", **kwargs): + if fund not in paths: + return emails = em.get_msgs(path=paths[fund], count=count, subject__contains="Margin") DATA_DIR = DAILY_DIR / fund / "GS_reports" for msg in emails: |
