fix a bug
This commit is contained in:
parent
4399fb490e
commit
a81ee24dce
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ class Pulse(Animation):
|
|||
Resets the animation.
|
||||
"""
|
||||
white = len(self.pixel_object[0]) > 3 and isinstance(
|
||||
self.pixel_object[0][-1], float
|
||||
self.pixel_object[0][-1], int
|
||||
)
|
||||
self._generator = adafruit_led_animation.helper.pulse_generator(
|
||||
self._period, self, white
|
||||
|
|
|
|||
Loading…
Reference in a new issue