luci-app-qbittorrent: fix read port config

This commit is contained in:
CN_SZTL 2020-02-08 00:59:30 +08:00
parent f6374001d9
commit bd232a0883
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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)