aboutsummaryrefslogtreecommitdiffstats
path: root/python/cash_reports.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/cash_reports.py')
-rw-r--r--python/cash_reports.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/python/cash_reports.py b/python/cash_reports.py
index 6ecbee2f..b0cc3d6a 100644
--- a/python/cash_reports.py
+++ b/python/cash_reports.py
@@ -1,4 +1,4 @@
-from report_ops.cash import NTCashReport, UMBCashReport
+from report_ops.cash import NTCashReport, UMBCashReport, BNYCashReport
import datetime
from serenitas.analytics.dates import prev_business_day
import logging
@@ -16,9 +16,6 @@ if __name__ == "__main__":
help="work date",
)
args = parser.parse_args()
- for report_cls in (NTCashReport, UMBCashReport):
+ for report_cls in (BNYCashReport,):
report = report_cls(args.date)
- try:
- report.to_db()
- except ValueError as e:
- logger.info(e)
+ report.to_db()