forked from M-Labs/thermostat
Remove redundant return
This commit is contained in:
parent
0982ce0f92
commit
253eb182d7
|
@ -45,7 +45,6 @@ class Client:
|
|||
"""Disconnect the client if connected, cancel connection if connecting"""
|
||||
if self._connecting_task is not None:
|
||||
self._connecting_task.cancel()
|
||||
return
|
||||
|
||||
if self._writer is None:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue