test docker build

pull/1338/head
墨梓柒 2025-10-31 14:40:27 +08:00
parent c6dadc2872
commit 0d5e393bcb
No known key found for this signature in database
GPG Key ID: 4A65B9DBA35F7635
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ install(extra_lines=3)
# 定义数据库文件路径
ROOT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
_DB_DIR = os.path.join(ROOT_PATH, "data")
_DB_FILE = os.path.join(_DB_DIR, "MaiBot.db")
_DB_FILE = os.path.join(_DB_DIR, "MaiBot.db" )
# 确保数据库目录存在
os.makedirs(_DB_DIR, exist_ok=True)