diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 8a887ac..7e99d3a 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -36,7 +36,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): while True: if self.task.done(): try: - _ = self.task.result() + self.task.result() except asyncio.TimeoutError: logging.error( "Encountered an error while polling for information from Thermostat.",