aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/gfs_monitor.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/python/gfs_monitor.py b/python/gfs_monitor.py
index 11e0b197..02017c1d 100644
--- a/python/gfs_monitor.py
+++ b/python/gfs_monitor.py
@@ -58,8 +58,5 @@ if __name__ == "__main__":
em = ExchangeMessage()
with conn.cursor() as c:
for fund in ("BOWDST", "SERCGMAST"):
- c.execute(sql_str, (fund, args.cob))
- for row in c:
- GFSMonitor.stage(c._asdict())
- GFSMonitor.email(fund)
- GFSMonitor._insert_queue.clear()
+ check_gfs(args.cob, fund, conn)
+ check_cleared_cds(args.cob, fund, conn)