mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 00-global_var.sh
This commit is contained in:
@@ -66,7 +66,7 @@ for KEYS in "${arr[@]}"; do
|
||||
# shellcheck disable=SC2163
|
||||
export "$line"
|
||||
# export to python
|
||||
if command -v "python3" &>/dev/null && ; then
|
||||
if command -v "python3" &>/dev/null ; then
|
||||
[ ! -f /env.py ] && echo "import os" > /env.py
|
||||
# Escape \
|
||||
VALUEPY="${VALUEPY//\\/\\\\}"
|
||||
|
||||
Reference in New Issue
Block a user