'commit'
This commit is contained in:
@@ -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():
|
||||
"""
|
||||
根据注释完成代码:
|
||||
|
||||
Reference in New Issue
Block a user