From bfba4d1bd45632652ca6688b3e96acac7dda3d3f Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Sat, 2 Feb 2019 21:22:14 +0800 Subject: [PATCH] Remove a useless parameter --- nonebot/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nonebot/__init__.py b/nonebot/__init__.py index 20ca9113..faa5b07a 100644 --- a/nonebot/__init__.py +++ b/nonebot/__init__.py @@ -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