__gracefully_kick

This commit is contained in:
Maxim Khomutov 2023-07-24 00:03:04 +03:00
parent e440cdf022
commit 9079750576
2 changed files with 2 additions and 3 deletions

View File

@ -116,7 +116,7 @@ class Core:
self.log.error("Error in check_alive.")
self.log.exception(e)
async def __gracefully_kick(self, _):
async def __gracefully_kick(self):
for client in self.clients:
if not client:
continue

View File

@ -93,7 +93,6 @@ class UDPServer(asyncio.DatagramTransport):
)
d.transport = self.transport
if not self.run:
self.log.debug(f"UDP server started on {self.transport.get_extra_info('sockname')}")
self.run = True