fix INFO alerts not working when rainbow was disabled
This commit is contained in:
parent
f695aa832e
commit
ca5991da50
1 changed files with 14 additions and 0 deletions
14
dmx_queue.py
14
dmx_queue.py
|
@ -128,6 +128,20 @@ class DMXQueue:
|
|||
50,
|
||||
)
|
||||
sleep(0.025)
|
||||
else:
|
||||
for idx in forward + reverse:
|
||||
LOG.debug(idx)
|
||||
self._update_all(
|
||||
int(
|
||||
(self.config.alerts.brightness / len(forward)) * idx
|
||||
),
|
||||
0,
|
||||
50,
|
||||
255,
|
||||
50,
|
||||
)
|
||||
sleep(0.025)
|
||||
self._update_all(0, 0, 0, 0, 0)
|
||||
self.queue.task_done()
|
||||
except Empty:
|
||||
if self.config.rainbow.enable:
|
||||
|
|
Loading…
Reference in a new issue