diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/intex/load_intex_collateral.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/intex/load_intex_collateral.py b/python/intex/load_intex_collateral.py index 2e42ead0..832775ae 100644 --- a/python/intex/load_intex_collateral.py +++ b/python/intex/load_intex_collateral.py @@ -54,7 +54,7 @@ def upload_data(conn, dealnames, workdate): logger.warning("dubious {0} found: {1}".format(key, line[key])) line[key] = line[key][:l] - if 'Reinvest Collat' in line and line['Reinvest Collat'].upper() == 'Y': + if 'Reinvest Collat' not in missingfields and line['Reinvest Collat'].upper() == 'Y': # assume it's a reinvestment asset line['Reinvest Collat'] = True line['Issuer'] = line['ID Number'] |
