Skip to content

Commit 27fbb0d

Browse files
authored
Merge pull request adafruit#89 from garrettheath4/issue-88
Patch: Fixed param type in MQTT.add_topic_callback(..) method docstring
2 parents a7b1f3d + f2a7f89 commit 27fbb0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def add_topic_callback(self, mqtt_topic, callback_method):
364364
"""Registers a callback_method for a specific MQTT topic.
365365
366366
:param str mqtt_topic: MQTT topic identifier.
367-
:param str callback_method: Name of callback method.
367+
:param function callback_method: Name of callback method.
368368
"""
369369
if mqtt_topic is None or callback_method is None:
370370
raise ValueError("MQTT topic and callback method must both be defined.")

0 commit comments

Comments
 (0)