mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-13 11:21:02 +01:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -117,8 +117,9 @@ fi
|
||||
cd "$CONFIG_LOCATION"/ || true
|
||||
|
||||
WHITELIST="$(bashio::config 'whitelist')"
|
||||
# Remove blanks
|
||||
# Sanitize blanks after comma
|
||||
WHITELIST="${WHITELIST// /}"
|
||||
WHITELIST="${WHITELIST//,/,\ }"
|
||||
#clean data
|
||||
sed -i '/AuthSubnetWhitelist/d' qBittorrent.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user