fix: auto-fix linting issues

This commit is contained in:
alexbelgium
2025-11-23 00:35:42 +00:00
committed by github-actions[bot]
parent e65858ced9
commit 41f76f0d29
50 changed files with 286 additions and 286 deletions

View File

@@ -112,6 +112,7 @@ def automatic_mqtt_publish(file, detection, path):
mqttc.publish(mqtt_topic, json_bird, 1)
log.info("Posted to MQTT: ok")
# Create MQTT client using legacy callback API when available for
# compatibility with paho-mqtt >= 2.0
callback_api = getattr(mqtt, "CallbackAPIVersion", None)