Fix off animation
This commit is contained in:
parent
efb7c20af5
commit
bbf862a0a2
2 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Off(Animation):
|
|||
super(Off, self).__init__()
|
||||
|
||||
def name(self):
|
||||
return "Off"
|
||||
return "off"
|
||||
|
||||
|
||||
class Steady(Animation):
|
||||
|
|
1
dmx.py
1
dmx.py
|
@ -135,6 +135,7 @@ class DMX:
|
|||
# one frame black
|
||||
self._animation = Steady((0, 0, 0))
|
||||
self.update()
|
||||
self._animation = Off()
|
||||
else:
|
||||
self.start()
|
||||
print(f"Animation: {animation}", file=sys.stderr)
|
||||
|
|
Loading…
Reference in a new issue