fix typo on consumer docstring

This commit is contained in:
Gonçalo Valério 2019-05-18 19:24:28 +01:00
parent 8a069cda2c
commit 609b1c8bf6
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import json
class WebhookConsumer(AsyncWebsocketConsumer):
async def connect(self):
"""While the connection of open it is associated with a callback"""
"""While the connection is open, it is associated with a callback id"""
self.callback = self.scope["url_route"]["kwargs"]["uuid"]
await self.channel_layer.group_add(self.callback, self.channel_name)
await self.accept()