Drop Python 3.9 support (#85456)

This commit is contained in:
Franck Nijhof
2023-01-22 20:40:33 +01:00
committed by GitHub
parent 7661b222b4
commit 5102d1a5f3
13 changed files with 24 additions and 38 deletions

View File

@@ -60,7 +60,7 @@ class LircInterface(threading.Thread):
def run(self):
"""Run the loop of the LIRC interface thread."""
_LOGGER.debug("LIRC interface thread started")
while not self.stopped.isSet():
while not self.stopped.is_set():
try:
code = lirc.nextcode() # list; empty if no buttons pressed
except lirc.NextCodeError: