Skip to content
Snippets Groups Projects
Commit 106b1b81 authored by jkerdreu's avatar jkerdreu
Browse files

- Lint


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3044 b32b6428-25c9-4566-ad07-03861ab6144f
parent 012a3046
No related branches found
No related tags found
No related merge requests found
...@@ -49,8 +49,8 @@ class YeelightDev(object): ...@@ -49,8 +49,8 @@ class YeelightDev(object):
self.setup() self.setup()
self.set_xaal() self.set_xaal()
logger.info(f"New device at {bulb._ip} : {self.addr}") logger.info(f"New device at {bulb._ip} : {self.addr}")
# It's safer to use a lock to avoid the socket to be used w/ 2 greenlets at the same time. # It's safer to use a lock to avoid the socket to be used w/ 2
# This can occurs on the device refresh # greenlets at the same time. This can occurs on the device refresh
self.lock = gevent.lock.BoundedSemaphore(1) self.lock = gevent.lock.BoundedSemaphore(1)
# self.bulb.start_music() # self.bulb.start_music()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment