aboutsummaryrefslogtreecommitdiffstats
path: root/gunicorn_config.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-31 15:58:30 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-31 15:58:30 +0100
commit799a327edc97a6b1f365b9f81a47f37e614e0185 (patch)
tree36754039bd130795f0699e01809ca604e784c01c /gunicorn_config.py
parentLinting (of course) (diff)
This isn't what I signed up for!
Diffstat (limited to 'gunicorn_config.py')
-rw-r--r--gunicorn_config.py5
1 files changed, 3 insertions, 2 deletions
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
+ )