diff options
Diffstat (limited to 'python/report_ops/__main__.py')
| -rw-r--r-- | python/report_ops/__main__.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/python/report_ops/__main__.py b/python/report_ops/__main__.py index 0345a049..ab50c632 100644 --- a/python/report_ops/__main__.py +++ b/python/report_ops/__main__.py @@ -15,7 +15,7 @@ from .sma import ( CDXSwaptionPosition, ) from .cash import NTCashReport, UMBCashReport, BNYCashReport -from .admin import AccruedReport, AllReport +from .admin import CitcoReport from .wires import Wire from .custodians import upload_to_custodian from .utils import notify_payment_settlements, PaymentMonitor @@ -89,12 +89,10 @@ if args.cash_reports: logger.warning(e) if args.isosel_reports: - for report_cls in ( - AccruedReport, - AllReport, - ): + for report in ("isosel_accrued", "citco_reports"): + report = CitcoReport[report] try: - report_cls.to_db(cob) + report.to_db(cob) except ValueError as e: logger.info(e) |
