From bbf862a0a2729d54f7947a8d04ada75fa7cb7794 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Tue, 26 Jul 2022 12:27:50 +0200 Subject: [PATCH] Fix off animation --- animation.py | 2 +- dmx.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/animation.py b/animation.py index 37356fc..750b20d 100644 --- a/animation.py +++ b/animation.py @@ -21,7 +21,7 @@ class Off(Animation): super(Off, self).__init__() def name(self): - return "Off" + return "off" class Steady(Animation): diff --git a/dmx.py b/dmx.py index ced57e6..64c5a1b 100644 --- a/dmx.py +++ b/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)