This commit is contained in:
Alexandre
2022-11-12 21:26:09 +01:00
committed by GitHub
parent fb6661e3fd
commit b38ad92ff9

View File

@@ -117,8 +117,9 @@ while IFS= read -r line; do
[ ! -f /env.py ] && echo "import os" > /env.py
echo "os.environ['${line%%=*}'] = '${line#*=}'" >> /env.py
python3 /env.py
rm /env.py
fi
# set .env
echo "$line" >> /.env || true
# Show in log
if ! bashio::config.false "verbose"; then bashio::log.blue "$line"; fi
else