From 577f3b123b319414b4fa50ff9d2838015ccb372e Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 30 Jan 2023 20:05:25 +0100 Subject: adding handler for tempsensors on mqtt --- run.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index bca78be..6782089 100755 --- a/run.sh +++ b/run.sh @@ -2,7 +2,8 @@ 0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}" 0="${${(M)0:#/*}:-$PWD/$0}" - +setopt all_export source ${0:h}/.env -source ${0:h}/venv/bin/activate -python3 ${0:h}/$1 +unsetopt all_export + +${0:h}/venv/bin/python3 ${0:h}/$1 -- cgit v1.2.3