From 106b1b81ca975559fead055570ca64b3e01ae4a1 Mon Sep 17 00:00:00 2001 From: jkerdreu <jkerdreu@b32b6428-25c9-4566-ad07-03861ab6144f> Date: Mon, 7 Nov 2022 16:39:20 +0000 Subject: [PATCH] - Lint git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3044 b32b6428-25c9-4566-ad07-03861ab6144f --- devices/protocols/Yeelight/xaal/yeelight/devices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/protocols/Yeelight/xaal/yeelight/devices.py b/devices/protocols/Yeelight/xaal/yeelight/devices.py index 68bd4e72..edc37936 100644 --- a/devices/protocols/Yeelight/xaal/yeelight/devices.py +++ b/devices/protocols/Yeelight/xaal/yeelight/devices.py @@ -49,8 +49,8 @@ class YeelightDev(object): self.setup() self.set_xaal() 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. - # This can occurs on the device refresh + # It's safer to use a lock to avoid the socket to be used w/ 2 + # greenlets at the same time. This can occurs on the device refresh self.lock = gevent.lock.BoundedSemaphore(1) # self.bulb.start_music() -- GitLab