diff --git a/src/plugins/haruka_bot/database/db.py b/src/plugins/haruka_bot/database/db.py index a2c1218b..eb7af069 100644 --- a/src/plugins/haruka_bot/database/db.py +++ b/src/plugins/haruka_bot/database/db.py @@ -4,7 +4,7 @@ import nonebot from packaging.version import Version -from tortoise import Tortoise, run_async +from tortoise import Tortoise from tortoise.query_utils import Q from tortoise.queryset import QuerySet @@ -12,7 +12,6 @@ from .models import Version as DBVersion from ..utils import get_path from ..version import __version__ -from pprint import pprint uid_list = {'live': {'list': [], 'index': 0},