diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 83e35d7..1202687 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -46,7 +46,7 @@ jobs: matrix: os: [ubuntu-20.04, ubuntu-latest] python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] - exclude: + exclude: - os: ubuntu-latest python-version: "3.6" - os: ubuntu-20.04 diff --git a/ruia_peewee_async/__init__.py b/ruia_peewee_async/__init__.py index bc897e5..d310e7b 100644 --- a/ruia_peewee_async/__init__.py +++ b/ruia_peewee_async/__init__.py @@ -392,7 +392,6 @@ def after_start(**kwargs): mysql, mysql_model, postgres, postgres_model = check_config(kwargs) async def init_after_start(spider_ins): - if mysql and mysql_model: spider_ins.mysql_config = mysql # spider_ins.mysql_model = mysql_model