aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/ms.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/ms.py')
-rw-r--r--python/collateral/ms.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/collateral/ms.py b/python/collateral/ms.py
index c8bdbc8a..415b92c8 100644
--- a/python/collateral/ms.py
+++ b/python/collateral/ms.py
@@ -2,10 +2,7 @@ import pandas as pd
from . import DAILY_DIR
-def download_files(count=20):
- from exchange import ExchangeMessage
-
- em = ExchangeMessage()
+def download_files(em, count=20):
emails = em.get_msgs(
path=["NYops", "Margin calls MS"],
count=count,