Skip to content

Commit dd03b69

Browse files
zakinijoshprlx
andauthored
Fixed MqttServiceClient unsubscribe not unpacking the tuple returned from the underlying mqtt_connection method (#38)
Co-authored-by: Josh Wells <[email protected]>
1 parent e86b100 commit dd03b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awsiot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def on_unsuback(unsuback_future):
5858
else:
5959
future.set_result(None)
6060

61-
unsub_future = self.mqtt_connection.unsubscribe(topic)
61+
unsub_future, _ = self.mqtt_connection.unsubscribe(topic)
6262
unsub_future.add_done_callback(on_unsuback)
6363

6464
except Exception as e:

0 commit comments

Comments
 (0)