diff options
author | Dennis Eriksen <d@ennis.no> | 2023-01-30 20:05:25 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-01-30 20:05:25 +0100 |
commit | 577f3b123b319414b4fa50ff9d2838015ccb372e (patch) | |
tree | ffccfa8ce30f1e1876e66adec6fe67276c3d1ad9 /run.sh | |
parent | adding a few dependencies (diff) | |
download | energyscripts-577f3b123b319414b4fa50ff9d2838015ccb372e.tar.gz |
adding handler for tempsensors on mqtt
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |