更新修改的数据库字段

main
fanpt 1 month ago
parent a7a1ca5ec9
commit d8c0270db2

@ -95,7 +95,7 @@ def set_enable_status(db_path):
try: try:
# 把 enable_status 对应的 value 字段改为 '1' # 把 enable_status 对应的 value 字段改为 '1'
conn.execute( conn.execute(
"UPDATE live_config SET value = '1' WHERE key = 'enable_status';" "UPDATE live_config SET value = '1' WHERE key = 'livetlking_enable_status';"
) )
conn.commit() conn.commit()
print("enable_status 对应的 value 字段改为 '1'") print("enable_status 对应的 value 字段改为 '1'")

Loading…
Cancel
Save