Skip to content

Commit

Permalink
changes of review
Browse files Browse the repository at this point in the history
Signed-off-by: michaelloercher <[email protected]>
  • Loading branch information
miloit committed Dec 18, 2024
1 parent 8e11f96 commit 9c53339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ install_esphomedashboard() {
# Set up a virtual environment and install ESPHome
echo "$(timestamp) [openHABian] Setting up a virtual environment in $ESPHOME_DIR..."
cd "$ESPHOME_DIR" || return
if ! sudo -u "$USER" python3 -m venv venv; then
if ! sudo -u "$USER" python3 -m venv "$ESPHOME_DIR/venv"; then
echo "$(timestamp) [openHABian] Error: Failed to create a Python virtual environment."
return
fi
Expand Down

0 comments on commit 9c53339

Please sign in to comment.