aboutsummaryrefslogtreecommitdiffstats
path: root/python/gfs_monitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/gfs_monitor.py')
-rw-r--r--python/gfs_monitor.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/gfs_monitor.py b/python/gfs_monitor.py
index d222e7fd..5b2665bc 100644
--- a/python/gfs_monitor.py
+++ b/python/gfs_monitor.py
@@ -24,6 +24,7 @@ if __name__ == "__main__":
with conn.cursor() as c:
for fund in ("BOWDST", "SERCGMAST"):
c.execute(sql_str, (fund, args.cob))
- GFSMonitor.stage_payment(c)
- GFSMonitor.email_globeop(fund)
+ for row in c:
+ GFSMonitor.stage(c._asdict())
+ GFSMonitor.email(fund)
GFSMonitor._insert_queue.clear()