From 0172a8867d897e375eea6d37192493b83a2905c9 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Fri, 5 Feb 2021 16:06:00 -0600 Subject: [PATCH] Update routing key according to the callback change --- rc_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc_util.py b/rc_util.py index 9268203..e16fe30 100644 --- a/rc_util.py +++ b/rc_util.py @@ -36,7 +36,7 @@ def worker(ch, method, properties, body): def consume(username, routing_key='', callback=worker, debug=False): if routing_key == '': - routing_key = 'confirm.' + username + routing_key = 'complete.' + username if debug: sleep(5) -- GitLab