Allow initial animation and color to be set on the cmd line
This commit is contained in:
parent
32bc2660d4
commit
52c1cf5c11
2 changed files with 5 additions and 3 deletions
2
dmx.py
2
dmx.py
|
|
@ -165,5 +165,5 @@ class DMX:
|
|||
@color.setter
|
||||
def color(self, color):
|
||||
if self._color != color:
|
||||
self._color = color
|
||||
self._color = [int(c) for c in color]
|
||||
self.animation = self.animation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue