-
Julien "_FrnchFrgg_" Rivaud authored
Calling `paho.mqtt.publish.multiple()` with an empty message list makes it wait indefinitely for an ACK from MQTT which will not come. Skip the call if `msgs` is empty instead. Also replace tuples by lists in the settings to avoid the pitfall of avoiding the coma in tuples with a single value which makes the loop iterate over single letters...
6bbb1c52