diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/collateral/baml_isda.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/collateral/baml_isda.py b/python/collateral/baml_isda.py index 6574960c..6cc14dda 100644 --- a/python/collateral/baml_isda.py +++ b/python/collateral/baml_isda.py @@ -14,8 +14,6 @@ def download_from_secure_id( path: pathlib.Path, base_url="https://secmail.bankofamerica.com", ): - from exchange import ExchangeMessage - payload = {"dialog:username": "ghorel@lmcg.com", "dialog:password": "v4vdMvH9Qe9t"} with requests.Session() as session: r = session.get( @@ -46,6 +44,8 @@ def download_from_secure_id( def download_files(d=None, count=20): + from exchange import ExchangeMessage + DATA_DIR = DAILY_DIR / "BAML_ISDA_reports" em = ExchangeMessage() emails = em.get_msgs(path=["NYops", "Margin Calls Baml"], count=count) |
