aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/baml_isda.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/baml_isda.py')
-rw-r--r--python/collateral/baml_isda.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/collateral/baml_isda.py b/python/collateral/baml_isda.py
index 9794e02a..01809bee 100644
--- a/python/collateral/baml_isda.py
+++ b/python/collateral/baml_isda.py
@@ -56,11 +56,8 @@ def download_from_secure_id(
z.extract(f, path=path)
-def download_files(d=None, count=20):
- from exchange import ExchangeMessage
-
+def download_files(em, d=None, count=20):
DATA_DIR = DAILY_DIR / "BAML_ISDA_reports"
- em = ExchangeMessage()
emails = em.get_msgs(path=["NYops", "Margin Calls Baml"], count=count)
for msg in emails:
if (