From d9e97def8a8c40444c1499ee831e1d4788208a08 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 24 Jul 2025 17:46:42 +0200 Subject: [PATCH] Allow other users than pi https://github.com/alexbelgium/hassio-addons/issues/1977#issuecomment-3113874717 --- birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py index f47c24bdb..4fab47dca 100644 --- a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py +++ b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py @@ -10,7 +10,7 @@ import paho.mqtt.client as mqtt import requests from helpers import get_settings -sys.path.append("/home/pi/BirdNET-Pi/scripts") +os.path.expanduser('~/BirdNET-Pi/scripts/utils') # Setup basic configuration for logging logging.basicConfig(level=logging.INFO)