From d0cc3d0230f3ce0edc1120621ccf62c192f89562 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 1 May 2020 11:53:30 +0800 Subject: [PATCH] luci-app-qbittorrent: update python3 for search --- package/lean/luci-app-qbittorrent/Makefile | 4 ++-- .../luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/lean/luci-app-qbittorrent/Makefile b/package/lean/luci-app-qbittorrent/Makefile index 343d88846..cbb12515e 100644 --- a/package/lean/luci-app-qbittorrent/Makefile +++ b/package/lean/luci-app-qbittorrent/Makefile @@ -6,10 +6,10 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI support for qBittorrent -LUCI_DEPENDS:=+qBittorrent +python +LUCI_DEPENDS:=+qBittorrent +python3 LUCI_PKGARCH:=all PKG_VERSION=1.0 -PKG_RELEASE:=18 +PKG_RELEASE:=19 include $(TOPDIR)/feeds/luci/luci.mk 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 7431394f2..8563e6d26 100644 --- a/package/lean/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua +++ b/package/lean/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent.lua @@ -249,11 +249,11 @@ o.enabled = "true" o.disabled = "false" o.default = o.disabled -o = s:taboption("webgui", Value, "Username", translate("Username"), translate("The login name for WebUI.")) -o.placeholder = "admin" +--o = s:taboption("webgui", Value, "Username", translate("Username"), translate("The login name for WebUI.")) +--o.placeholder = "admin" -o = s:taboption("webgui", Value, "Password", translate("Password"), translate("The login password for WebUI.")) -o.password = true +--o = s:taboption("webgui", Value, "Password", translate("Password"), translate("The login password for WebUI.")) +--o.password = true o = s:taboption("webgui", Value, "Locale", translate("Locale Language")) o:value("en", translate("English"))