Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #289 Updated event loop property in busylight.lights.taskable.Tas…
…kableMixin As I understand it, when lights are activated in a thread other than the main thread there is not a default async event loop available and asyncio.get_event_loop raises a RuntimeError. I've modified the property TaskableMixin.event_loop to catch RuntimeError and create an event loop.
- Loading branch information