aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/cash_reports.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/python/cash_reports.py b/python/cash_reports.py
index b0cc3d6a..f0937d0d 100644
--- a/python/cash_reports.py
+++ b/python/cash_reports.py
@@ -16,6 +16,13 @@ if __name__ == "__main__":
help="work date",
)
args = parser.parse_args()
- for report_cls in (BNYCashReport,):
+ for report_cls in (
+ NTCashReport,
+ UMBCashReport,
+ BNYCashReport,
+ ):
report = report_cls(args.date)
- report.to_db()
+ try:
+ report.to_db()
+ except ValueError as e:
+ logger.warning(e)