Skip to content

Commit cba51fb

Browse files
tneishdhalbert
andauthored
Update adafruit_led_animation/animation/colorcycle.py
Adding the new arg to the end will make any calls upward.compatible Co-authored-by: Dan Halbert <halbert@halwitz.org>
1 parent 43aa654 commit cba51fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_led_animation/animation/colorcycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ColorCycle(Animation):
4242
"""
4343

4444
# pylint: disable=too-many-arguments
45-
def __init__(self, pixel_object, speed, colors=RAINBOW, start_color=0, name=None):
45+
def __init__(self, pixel_object, speed, colors=RAINBOW, name=None, start_color=0):
4646
self.colors = colors
4747
self.start_color = start_color
4848
super().__init__(pixel_object, speed, colors[start_color], name=name)

0 commit comments

Comments
 (0)