diff options
Diffstat (limited to 'python/load_intex_collateral.py')
| -rw-r--r-- | python/load_intex_collateral.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/load_intex_collateral.py b/python/load_intex_collateral.py index b1b18e8f..38e05395 100644 --- a/python/load_intex_collateral.py +++ b/python/load_intex_collateral.py @@ -72,7 +72,7 @@ def upload_data(dealnames, workdate, conn, cursor): for field in ['Spread', 'Gross Coupon', 'Market Price', 'Contributed Balance']: if line[field]: line[field] = sanitize_float(line[field]) - if line['Market Price'] is not None and line['Market Price'] == 0 and line['Market Price Source'] =='': + if line['Market Price'] is not None and line['Market Price'] == 0: line['Market Price'] = None #we store the Libor FLoor in the database, so Life Floor is really Libor Floor if line['Life Floor'] == "No limit": |
