diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/cusip_universe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cusip_universe.py b/python/cusip_universe.py index 471b0aae..db9a8ac8 100644 --- a/python/cusip_universe.py +++ b/python/cusip_universe.py @@ -45,7 +45,7 @@ def upload_data(workdate, conn, cursor): cursor.execute(sqlstring, (line['CUSIP'],)) curr_date = cursor.fetchone() if not curr_date or curr_date[0] < dealupdate[dealname]: - if dealname in deals_to_update: + if dealname not in deals_to_update: deals_to_update.append(dealname) line['updatedate'] = dealupdate[dealname] for key in ['Curr Balance', 'Orig Balance', 'Orig Attachment Point', |
