Update birdnet_to_mqtt.py

This commit is contained in:
Alexandre
2024-08-15 09:22:55 +02:00
committed by GitHub
parent 501823e8b5
commit a5f1e75e1c

View File

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