Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dc4cb6

Browse files
committed
Bumped version
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent08880c2 commit8dc4cb6

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
defon_connect(client,userdata,flags,rc):
1919
ifhandlerisnotNone:
2020
handler()
21-
self.client.on_connect=on_connect
21+
self.client.on_connect=on_connect
2222

2323
defpublish(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
defunsubscribe(self,topic):
35-
self.client.unsubscribe(topic)
35+
self.client.unsubscribe('{}/{}'.format(self.account_id,topic))
3636

3737
defdisconnect(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)

[8]ページ先頭

©2009-2025 Movatter.jp