diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 4075a0c..800e881 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -221,7 +221,7 @@ class MainWindow(QtWidgets.QMainWindow): await self.thermostat.set_report_mode(enabled) @asyncClose - async def closeEvent(self, event): + async def closeEvent(self, _event): try: await self.bail() except: