aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/cusip_universe.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/cusip_universe.py b/python/cusip_universe.py
index db9a8ac8..bd024d4d 100644
--- a/python/cusip_universe.py
+++ b/python/cusip_universe.py
@@ -30,6 +30,8 @@ def upload_data(workdate, conn, cursor):
data = []
deals_to_update = []
for line in dr:
+ if "ISIN" not in line:
+ line['ISIN'] = None
if "," in line['Tranche']:
line["dealname"], line["tranche"] = line["Tranche"].split(",")
else: