diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 9376a01..ad9078d 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -249,7 +249,7 @@ class MainWindow(QtWidgets.QMainWindow): await self.bail() # TODO: Remove asyncio.TimeoutError in Python 3.11 - except (OSError, TimeoutError, asyncio.TimeoutError): + except (OSError, asyncio.TimeoutError): try: await self.bail() except ConnectionResetError: