This commit is contained in:
HuangHai
2026-01-14 07:05:03 +08:00
parent e25aa5b756
commit a3347b9340
9 changed files with 14 additions and 66 deletions

View File

@@ -3,6 +3,8 @@ import os
import sys
import logging
from Util import Win32Patch
# 确保项目根目录在 sys.path 中
project_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
if project_root not in sys.path:
@@ -16,7 +18,7 @@ from Config.Config import DB_URL
# 配置日志
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logger = logging.getLogger("ClearYeLiTe")
Win32Patch.patch()
async def main():
"""
根据注释完成代码: