From 7d35538962cf0ae93b185f69eda7220134c5244b Mon Sep 17 00:00:00 2001 From: Luke Mullan Date: Wed, 28 Jun 2017 17:31:52 +1000 Subject: [PATCH] Fix **kwargs ommision. --- modules/notification/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/notification/__init__.py b/modules/notification/__init__.py index 6276ef4..2f440cb 100644 --- a/modules/notification/__init__.py +++ b/modules/notification/__init__.py @@ -25,7 +25,7 @@ class NotificationView(FlaskView): return ('', 204) @cbpi.event("MESSAGE", async=True) -def messageEvent(message): +def messageEvent(message, **kwargs): """ React on message event. add the message to the cache and push the message to the clients :param message: the message