From bd232a0883763e45b476a62c98d0fb1cec5f4e95 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sat, 8 Feb 2020 00:59:30 +0800 Subject: [PATCH] luci-app-qbittorrent: fix read port config --- .../lean/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/lean/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua b/package/lean/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua index e2572bf336..f764ff79db 100644 --- a/package/lean/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua +++ b/package/lean/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua @@ -1,5 +1,5 @@ local e=require"luci.model.uci".cursor() -local o=e:get_first("qbittorrent","Preferences","port") or 8080 +local o=e:get_first("qbittorrent","qbittorrent","port") or 8080 local a=(luci.sys.call("pidof qbittorrent-nox > /dev/null")==0)