diff options
| -rw-r--r-- | python/bondallocation_email.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/python/bondallocation_email.py b/python/bondallocation_email.py index 76fb9130..f9b232cf 100644 --- a/python/bondallocation_email.py +++ b/python/bondallocation_email.py @@ -66,13 +66,9 @@ if __name__ == "__main__": + bondtrade.to_html(index=False, formatters=formatters) ) if not row.allocation_contacts: -<<<<<<< HEAD - raise NoContacts(f'There are no contacts for {row.trade_date} - {row.counterparty}') -======= raise Exception( f"There are no contacts for {row.trade_date} - {row.counterparty}" ) ->>>>>>> 4153f0a6 (Fixed to raise Exception) em.send_email( subject=subject, to_recipients=row.allocation_contacts, |
