mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-26 15:51:26 +00:00
Remove a useless parameter
This commit is contained in:
@ -51,8 +51,7 @@ class NoneBot(CQHttp):
|
||||
kwargs['debug'] = self.config.DEBUG
|
||||
|
||||
logger.info(f'Running on {host}:{port}')
|
||||
super().run(host=host, port=port, loop=asyncio.get_event_loop(),
|
||||
*args, **kwargs)
|
||||
super().run(host=host, port=port, *args, **kwargs)
|
||||
|
||||
|
||||
_bot: Optional[NoneBot] = None
|
||||
|
Reference in New Issue
Block a user