Skip to content

Commit

Permalink
Merge pull request #2837 from rleidner/bmw_p2
Browse files Browse the repository at this point in the history
soc BMW: fix env issue in main.sh
  • Loading branch information
benderl authored Apr 30, 2024
2 parents f762494 + 686b652 commit 453c27d
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 453c27d

Please sign in to comment.