edit docs

This commit is contained in:
Bastian Schroll 2019-10-26 16:23:42 +02:00
parent facd7be644
commit e8c0446943
No known key found for this signature in database
GPG key ID: 0AE96912A20E9F5F
5 changed files with 12 additions and 8 deletions

View file

@ -86,7 +86,7 @@ class TCPClient:
def receive(self, timeout=1):
"""!Receive data from the server
@param: timeout to wait for incoming data in seconds
@param timeout: to wait for incoming data in seconds
@return received data"""
try:
read, _, _ = select.select([self._sock], [], [], timeout)

View file

@ -27,7 +27,7 @@ class NetCheck:
"""!Create a new NetCheck instance
@param hostname: host against connection check is running ("https://www.google.com/")
@param timout: timout for connection check in sec. (1)"""
@param timeout: timeout for connection check in sec. (1)"""
self._hostname = hostname
self._timeout = timeout
self.connectionState = False