This is bail

This commit is contained in:
atse 2024-08-23 16:51:56 +08:00
parent 6eb5b7298e
commit 6a78a2069d

View File

@ -422,8 +422,7 @@ class MainWindow(QtWidgets.QMainWindow):
assert self.thermostat.connected() assert self.thermostat.connected()
await self.thermostat.set_ipv4(ipv4_settings) await self.thermostat.set_ipv4(ipv4_settings)
await self.thermostat._client.end_session() await self.bail()
await self._on_connection_changed(False)
async def coro_main(): async def coro_main():