aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/citi.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/citi.py')
-rw-r--r--python/collateral/citi.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/collateral/citi.py b/python/collateral/citi.py
index f7d0818d..18a54a33 100644
--- a/python/collateral/citi.py
+++ b/python/collateral/citi.py
@@ -2,7 +2,7 @@ import pandas as pd
import subprocess
from bs4 import BeautifulSoup
from pandas.tseries.offsets import BDay
-from . import ExchangeMessage, DAILY_DIR, bus_day
+from . import DAILY_DIR, bus_day
def load_file(d):
@@ -18,6 +18,8 @@ def load_file(d):
def download_files(count=20):
+ from exchange import ExchangeMessage
+
em = ExchangeMessage()
emails = em.get_msgs(
path=["NYops", "Margin Calls Citi"], count=count, subject__startswith="262966"