Skip to content

Commit

Permalink
revert: chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
helloplhm-qwq committed Feb 22, 2024
1 parent 3f346f7 commit f24762e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def initConfig():
variable.log_length_limit = read_config('common.log_length_limit')
variable.debug_mode = read_config('common.debug_mode')
logger.debug("配置文件加载成功")
conn = sqlite3.connect('./data/cache.db')
conn = sqlite3.connect('./cache.db')

# 创建一个游标对象
cursor = conn.cursor()
Expand All @@ -664,7 +664,7 @@ def initConfig():

conn.close()

conn2 = sqlite3.connect('./data/data.db')
conn2 = sqlite3.connect('./config/data.db')

# 创建一个游标对象
cursor2 = conn2.cursor()
Expand Down

0 comments on commit f24762e

Please sign in to comment.