Skip to content

Fix a race condition in bulb.py when closing while a bulb is offline

Sign in for the full log view
GitHub Actions / Black failed Nov 8, 2023 in 0s

1 error

Black found 1 error

Annotations

Check failure on line 24 in /home/runner/work/pywizlight/pywizlight/pywizlight/push_manager.py

See this annotation in the file changed.

@github-actions github-actions / Black

/home/runner/work/pywizlight/pywizlight/pywizlight/push_manager.py#L13-L24

 RESPOND_PORT = 38899
 LISTEN_PORT = 38900
 
 
 class PushManager:
-
     _manager = None
 
     @classmethod
     def get(cls):
         """Get push manager instance."""