yym68686 commited on
Commit
3b027cd
·
1 Parent(s): 021d784

resolve conflicts

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -247,7 +247,7 @@ class ChannelStat(Base):
247
 
248
  if not DISABLE_DATABASE:
249
  # 获取数据库路径
250
- db_path = os.getenv('DB_PATH', '/home/stats.db')
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)