From 4f82ac7919108b50ff9872815778d8f0d709b274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98KimigaiiWuyi=E2=80=99?= <444835641@qq.com> Date: Wed, 13 Dec 2023 10:02:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20=E4=BF=AE=E5=A4=8D=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gsuid_core/sv.py | 2 +- gsuid_core/utils/database/base_models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gsuid_core/sv.py b/gsuid_core/sv.py index f96b02a..b990ca1 100644 --- a/gsuid_core/sv.py +++ b/gsuid_core/sv.py @@ -129,7 +129,7 @@ class SV: if name == '测试开关': self.pm = 6 - self.enabled = True + self.enabled = False def set(self, **kwargs): for var in kwargs: diff --git a/gsuid_core/utils/database/base_models.py b/gsuid_core/utils/database/base_models.py index d222c0c..152924c 100644 --- a/gsuid_core/utils/database/base_models.py +++ b/gsuid_core/utils/database/base_models.py @@ -15,7 +15,7 @@ from sqlalchemy.future import select from sqlalchemy import delete, update from sqlmodel import Field, SQLModel, col from sqlalchemy.sql.expression import func, null -from sqlalchemy.orm import registry, sessionmaker +from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine from gsuid_core.data_store import get_res_path