resolve conflicts
Browse files
main.py
CHANGED
@@ -247,7 +247,7 @@ class ChannelStat(Base):
|
|
247 |
|
248 |
if not DISABLE_DATABASE:
|
249 |
# 获取数据库路径
|
250 |
-
db_path = os.getenv('DB_PATH', '/
|
251 |
|
252 |
# 确保 data 目录存在
|
253 |
data_dir = os.path.dirname(db_path)
|
|
|
247 |
|
248 |
if not DISABLE_DATABASE:
|
249 |
# 获取数据库路径
|
250 |
+
db_path = os.getenv('DB_PATH', '/data/stats.db')
|
251 |
|
252 |
# 确保 data 目录存在
|
253 |
data_dir = os.path.dirname(db_path)
|