From 799a327edc97a6b1f365b9f81a47f37e614e0185 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Thu, 31 May 2018 15:58:30 +0100 Subject: This isn't what I signed up for! --- gunicorn_config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gunicorn_config.py') diff --git a/gunicorn_config.py b/gunicorn_config.py index 65717757..578399d7 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -54,11 +54,12 @@ def _when_ready(server=None, output_func=None): producer = c.Producer() producer.publish( { - "event": BotEventTypes.send_embed, + "event": BotEventTypes.send_embed.value, "data": { "target": CHANNEL_DEV_LOGS, "title": "Site Deployment", "message": "The site has been deployed!" } }, - routing_key=BOT_EVENT_QUEUE) + routing_key=BOT_EVENT_QUEUE + ) -- cgit v1.2.3