Fix Discover#discover incorrect documentation (#159)

The documentation states the timeout defaults to 5 seconds, but in the definition of the method timeout is set to 3
This commit is contained in:
Georgi Kirichkov 2019-01-30 14:28:14 +02:00 committed by Teemu R
parent df42f59ede
commit 07b4eda7ae

View File

@ -23,7 +23,7 @@ class Discover:
and waits for given timeout for answers from devices.
:param protocol: Protocol implementation to use
:param timeout: How long to wait for responses, defaults to 5
:param timeout: How long to wait for responses, defaults to 3
:param port: port to send broadcast messages, defaults to 9999.
:rtype: dict
:return: Array of json objects {"ip", "port", "sys_info"}