diff --git a/plugin/http.py b/plugin/http.py index 1af3035..fa14036 100644 --- a/plugin/http.py +++ b/plugin/http.py @@ -72,7 +72,7 @@ class BoswatchPlugin(PluginBase): loop = asyncio.get_event_loop() - future = asyncio.ensure_future(self.asyncRequests(urls)) + future = asyncio.ensure_future(self._asyncRequests(urls)) loop.run_until_complete(future) async def _asyncRequests(self, urls): diff --git a/requirements.txt b/requirements.txt index 5e215ff..0cca07d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,7 @@ mkdocs # for develope only pytest pytest-cov +flake8==4.0.1 pytest-flake8 pytest-flakes pytest-randomly