Update birdnet_to_mqtt.py

This commit is contained in:
Alexandre
2024-08-15 22:57:51 +02:00
committed by GitHub
parent 24a83e4649
commit 926aab8765

View File

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