forked from M-Labs/thermostat
_
This commit is contained in:
parent
54472c0eee
commit
ccec874756
@ -36,7 +36,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
|
|||||||
while True:
|
while True:
|
||||||
if self.task.done():
|
if self.task.done():
|
||||||
try:
|
try:
|
||||||
_ = self.task.result()
|
self.task.result()
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
logging.error(
|
logging.error(
|
||||||
"Encountered an error while polling for information from Thermostat.",
|
"Encountered an error while polling for information from Thermostat.",
|
||||||
|
Loading…
Reference in New Issue
Block a user