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