From 0adb6a2c05fcf0f2b46600cbf9ae05937651d377 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:01:45 +0200 Subject: [PATCH] Update birdnet_to_mqtt.py https://github.com/alexbelgium/hassio-addons/issues/1516 --- birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py index 36f61e0b7dd..6026248065a 100644 --- a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py +++ b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py @@ -17,7 +17,9 @@ import paho.mqtt.client as mqtt import subprocess import requests -from .helpers import get_settings +import sys +sys.path.append('/home/pi/BirdNET-Pi/scripts/utils') +from helpers import get_settings # Used in flickrimage flickr_images = {}