aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn/views.py')
-rw-r--r--python/Dawn/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index 88c1450a..3176d834 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -426,6 +426,9 @@ def terminate(dealid, kind):
app.logger.error(e)
session.rollback()
else:
+ buf = simple_serialize(termination)
+ q = get_queue()
+ q.rpush(f"{kind}_termination", buf)
return redirect(url_for("list_trades", kind=kind))
else:
return render_template(