aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops/__main__.py')
-rw-r--r--python/report_ops/__main__.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/python/report_ops/__main__.py b/python/report_ops/__main__.py
index d4103df6..e87dfc8f 100644
--- a/python/report_ops/__main__.py
+++ b/python/report_ops/__main__.py
@@ -88,12 +88,13 @@ if args.cash_reports:
logger.warning(e)
if args.isosel_reports:
- for report in ("isosel_accrued", "citco_reports"):
- try:
- report = CitcoReport[report](cob, "ISOSEL")
- report.to_db()
- except ValueError as e:
- logger.warning(e)
+ for fund in "ISOSEL":
+ for report in ("isosel_accrued", "citco_reports"):
+ try:
+ report = CitcoReport[report](cob, fund)
+ report.to_db()
+ except ValueError as e:
+ logger.warning(e)
if args.wire_reports:
for fund in ("BOWDST", "ISOSEL"):