diff options
Diffstat (limited to 'python/intex')
| -rw-r--r-- | python/intex/load_intex_collateral.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/intex/load_intex_collateral.py b/python/intex/load_intex_collateral.py index 8791c06a..60b94f89 100644 --- a/python/intex/load_intex_collateral.py +++ b/python/intex/load_intex_collateral.py @@ -48,6 +48,8 @@ def upload_data(conn, dealnames, workdate): line[key] = line[key].upper() if line['Asset Subtype']: line['Asset Subtype'] = line['Asset Subtype'].replace("Reinvest ", "").replace("Reinv ","") + if line['Second Lien']: + line['Second Lien'] = line['Second Lien'].replace("Second Lien", "Y") for key, l in [('LoanX ID', 8), ('CUSIP', 9), ('Asset Subtype', 10)]: if line[key]: if len(line[key]) > l: |
