From 66acbb971086ae5c9c1a18a96dfddbb78f395657 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Mon, 28 Jul 2014 14:16:45 +0100 Subject: [PATCH] [438484] Fix "protocol" not being used in publish.single() Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=438484 Change-Id: I0b989335d3aad580b53222388252c6ffcc0a3899 --- ChangeLog.txt | 5 +++++ src/paho/mqtt/publish.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 0827387..5feae68 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,8 @@ +v1.0.2 +====== + +- Fix "protocol" not being used in publish.single() + v1.0.1 ====== diff --git a/src/paho/mqtt/publish.py b/src/paho/mqtt/publish.py index 029721b..4405680 100644 --- a/src/paho/mqtt/publish.py +++ b/src/paho/mqtt/publish.py @@ -213,5 +213,5 @@ def single(topic, payload=None, qos=0, retain=False, hostname="localhost", """ msg = {'topic':topic, 'payload':payload, 'qos':qos, 'retain':retain} - multiple([msg], hostname, port, client_id, keepalive, will, auth, tls) + multiple([msg], hostname, port, client_id, keepalive, will, auth, tls, protocol) -- 2.39.5