diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index a226795..c51d31a 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: