aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/mtm_status.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/mtm_status.py b/python/mtm_status.py
index 96422784..76cee09d 100644
--- a/python/mtm_status.py
+++ b/python/mtm_status.py
@@ -65,6 +65,14 @@ def run(conn, date):
row.TicketNo,
),
)
+ elif row.ProductType == "CDI":
+ c.execute(
+ "UPDATE trs SET cpty_id = %s WHERE dealid = %s",
+ (
+ cpty_id,
+ row.TicketNo,
+ ),
+ )
conn.commit()