修复无法使用的bug

This commit is contained in:
MarkusJoe
2022-02-19 11:48:15 +08:00
parent 8c89f4a024
commit e28e4d52de
5 files changed
+23 -13

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
import os
from bin.utils.logger import logger
if not os.path.exists('./db/count.db'):
if not os.path.exists('./bin/db/count.db'):
logger.error('未检测到用户计数数据库')
import sqlite3
conn = sqlite3.connect('./bin/db/count.db', check_same_thread=False)