From dfe8f104afecea93290b98991dd7f2cf13045c8a Mon Sep 17 00:00:00 2001 From: Paul Daumlechner Date: Thu, 23 Nov 2023 21:21:52 +0100 Subject: [PATCH] Fix flake8 --- pyvlx/pyvlx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyvlx/pyvlx.py b/pyvlx/pyvlx.py index 1ff0cc75..716439be 100644 --- a/pyvlx/pyvlx.py +++ b/pyvlx/pyvlx.py @@ -82,7 +82,7 @@ async def disconnect(self) -> None: # If the connection will be closed while house status monitor is enabled, a reconnection will fail on SSL handshake. try: await self.klf200.house_status_monitor_disable(pyvlx=self, timeout=1) - except: + except Exception: pass await self.heartbeat.stop() self.connection.disconnect()