Update birdnet_to_mqtt.py

This commit is contained in:
Alexandre
2024-08-14 12:05:58 +02:00
committed by GitHub
parent 8549b0f31a
commit b2b3160f91

View File

@@ -50,7 +50,7 @@ def get_bird_code(scientific_name):
return bird_dict.get(scientific_name)
def automatic_mqtt_publish(file, detections):
def automatic_mqtt_publish(file, detections, path):
for detection in detections:
bird = {}
bird['Date'] = file.date