Merge pull request #4293 from chrismeyersfsu/fix-ws_disconnect_log

missing f"" on log statement
This commit is contained in:
Ryan Petrello 2020-05-05 11:16:13 -04:00 committed by GitHub
commit a7ca6e2eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ class BroadcastConsumer(AsyncJsonWebsocketConsumer):
logger.info(f"client '{self.channel_name}' joined the broadcast group.")
async def disconnect(self, code):
logger.info("client '{self.channel_name}' disconnected from the broadcast group.")
logger.info(f"client '{self.channel_name}' disconnected from the broadcast group.")
await self.channel_layer.group_discard(settings.BROADCAST_WEBSOCKET_GROUP_NAME, self.channel_name)
async def internal_message(self, event):