From 65376c68e496cbe183a781ffda0723f8fd2f1e70 Mon Sep 17 00:00:00 2001 From: Roy Hooper Date: Fri, 10 Jul 2020 17:45:26 -0400 Subject: [PATCH] blackness --- adafruit_led_animation/animation/comet.py | 2 +- adafruit_led_animation/animation/rainbowcomet.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/adafruit_led_animation/animation/comet.py b/adafruit_led_animation/animation/comet.py index 5df7b5f..7e77c9d 100644 --- a/adafruit_led_animation/animation/comet.py +++ b/adafruit_led_animation/animation/comet.py @@ -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 diff --git a/adafruit_led_animation/animation/rainbowcomet.py b/adafruit_led_animation/animation/rainbowcomet.py index 6be25c2..6fa22f4 100644 --- a/adafruit_led_animation/animation/rainbowcomet.py +++ b/adafruit_led_animation/animation/rainbowcomet.py @@ -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]