From 6a78a2069df9f73a7f7674f9e34f0f06daa0f994 Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 23 Aug 2024 16:51:56 +0800 Subject: [PATCH] This is bail --- pytec/tec_qt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index e186d3a..bc682b7 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -422,8 +422,7 @@ class MainWindow(QtWidgets.QMainWindow): assert self.thermostat.connected() await self.thermostat.set_ipv4(ipv4_settings) - await self.thermostat._client.end_session() - await self._on_connection_changed(False) + await self.bail() async def coro_main():