Skip to content

Commit 885e7d4

Browse files
author
brentru
committed
unindent
1 parent 49ca671 commit 885e7d4

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -664,14 +664,13 @@ def subscribe(self, topic, qos=0):
664664
This method can subscribe to one topics or multiple topics.
665665
666666
:param str,tuple,list topic: Unique MQTT topic identifier string. If
667-
this is a `tuple`, then the tuple should contain topic identifier
668-
string and qos level integer. If this is a `list`, then each list
669-
element should be a tuple containing a topic identifier string and
670-
qos level integer.
667+
this is a `tuple`, then the tuple should contain topic identifier
668+
string and qos level integer. If this is a `list`, then each list
669+
element should be a tuple containing a topic identifier string and
670+
qos level integer.
671671
:param int qos: Quality of Service level for the topic, defaults to
672-
zero. Conventional options are ``0`` (send at most once), ``1``
673-
(send at least once), or ``2`` (send exactly once).
674-
.. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
672+
zero. Conventional options are ``0`` (send at most once), ``1``
673+
(send at least once), or ``2`` (send exactly once).
675674
676675
"""
677676
self.is_connected()
@@ -723,7 +722,7 @@ def subscribe(self, topic, qos=0):
723722
def unsubscribe(self, topic):
724723
"""Unsubscribes from a MQTT topic.
725724
:param str,list topic: Unique MQTT topic identifier string or a list
726-
of tuples, where each tuple contains an MQTT topic identier string.
725+
of tuples, where each tuple contains an MQTT topic identier string.
727726
728727
"""
729728
topics = None

0 commit comments

Comments
 (0)