aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/parse_baml_swaption.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/parse_baml_swaption.py b/python/parse_baml_swaption.py
index 8c897767..ce36d76d 100644
--- a/python/parse_baml_swaption.py
+++ b/python/parse_baml_swaption.py
@@ -54,6 +54,6 @@ for msg in em.get_msgs(path=["AutoBook", "BAML Swaption"], count=2):
)
except IntegrityError as e:
logger.warning(e)
- SwaptionDeal.clear()
+ SwaptionDeal._insert_queue.clear()
else:
SwaptionDeal.commit()