mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-19 09:38:21 +08:00
Remove a useless parameter
This commit is contained in:
parent
6857d0d2df
commit
bfba4d1bd4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user