Skip to content

Commit 8dc4cb6

Browse files
committed
Bumped version
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 08880c2 commit 8dc4cb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

labstack/hub.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def connect(self, handler=None):
1818
def on_connect(client, userdata, flags, rc):
1919
if handler is not None:
2020
handler()
21-
self.client.on_connect = on_connect
21+
self.client.on_connect = on_connect
2222

2323
def publish(self, topic, message):
2424
self.client.publish('{}/{}'.format(self.account_id, topic), message)
@@ -32,7 +32,7 @@ def subscribe(self, topic, handler):
3232
self.handlers[topic] = handler
3333

3434
def unsubscribe(self, topic):
35-
self.client.unsubscribe(topic)
35+
self.client.unsubscribe('{}/{}'.format(self.account_id, topic))
3636

3737
def disconnect(self):
3838
self.client.loop_stop()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='labstack',
5-
version='0.31.5',
5+
version='0.31.6',
66
description='Official Python client library for the LabStack platform',
77
long_description='`<https://github.com/labstack/labstack-python>`_',
88
keywords='image compress, image resize, text summary, barcode generate, barcode scan',

0 commit comments

Comments
 (0)