blackness

This commit is contained in:
Roy Hooper 2020-07-10 17:45:26 -04:00
parent 2af26b7a66
commit 65376c68e4
2 changed files with 4 additions and 2 deletions

View file

@ -78,7 +78,7 @@ class Comet(Animation):
if tail_length == 0:
tail_length = len(pixel_object) // 4
if bounce and ring:
raise ValueError('Cannot combine bounce and ring mode')
raise ValueError("Cannot combine bounce and ring mode")
self.reverse = reverse
self.bounce = bounce
self._initial_reverse = reverse

View file

@ -82,7 +82,9 @@ class RainbowComet(Comet):
else:
self._colorwheel_step = step
self._colorwheel_offset = colorwheel_offset
super().__init__(pixel_object, speed, 0, tail_length, reverse, bounce, name, ring)
super().__init__(
pixel_object, speed, 0, tail_length, reverse, bounce, name, ring
)
def _set_color(self, color):
self._comet_colors = [BLACK]