Skip to content

Commit

Permalink
soc BMW: fix env issue in main.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rleidner committed Apr 29, 2024
1 parent f762494 commit 686b652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/soc_i3/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if (( soctimer < (6 * intervall) )); then

ARGSB64=$(echo -n $ARGS | base64 --wrap=0)

sudo python3 "$MODULEDIR/manual.py" "$ARGSB64" &>> $LOGFILE &
python3 "$MODULEDIR/manual.py" "$ARGSB64" &>> $LOGFILE &

soclevel=$(<"$socfile")
openwbDebugLog ${DMOD} 1 "Lp$CHARGEPOINT: SoC: $soclevel"
Expand All @@ -113,7 +113,7 @@ else

ARGSB64=$(echo -n $ARGS | base64 --wrap=0)

sudo python3 "$MODULEDIR/i3soc.py" "$ARGSB64" &>> $LOGFILE &
python3 "$MODULEDIR/i3soc.py" "$ARGSB64" &>> $LOGFILE &

soclevel=$(<"$socfile")
openwbDebugLog ${DMOD} 1 "Lp$CHARGEPOINT: SoC: $soclevel"
Expand Down

0 comments on commit 686b652

Please sign in to comment.