diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/lmcg_monitor.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/lmcg_monitor.py b/python/lmcg_monitor.py index 5f8230cd..234d6536 100644 --- a/python/lmcg_monitor.py +++ b/python/lmcg_monitor.py @@ -9,7 +9,8 @@ from report_ops.utils import CDXNotionalMonitor def monitor_scotia(date, conn): with conn.cursor() as c: c.execute( - "SELECT 1 FROM cash_balances cb WHERE fund='ISOSEL' AND account_number = '476960681512' AND date=%s;" + "SELECT 1 FROM cash_balances cb WHERE fund='ISOSEL' AND account_number = '476960681512' AND date=%s;", + (date,), ) if not (_ := c.fetchone()): em = ExchangeMessage() |
