Sfoglia il codice sorgente

Fix **kwargs ommision.

tags/3.1_alpha
Luke Mullan 8 anni fa
parent
commit
7d35538962
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      modules/notification/__init__.py

+ 1
- 1
modules/notification/__init__.py Vedi File

@@ -25,7 +25,7 @@ class NotificationView(FlaskView):
return ('', 204) return ('', 204)


@cbpi.event("MESSAGE", async=True) @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 React on message event. add the message to the cache and push the message to the clients
:param message: the message :param message: the message


Loading…
Annulla
Salva