don't use self.color

This commit is contained in:
Roy Hooper 2019-11-29 18:55:01 -05:00
parent bcf68c0a30
commit b31bc3d2a9

View file

@ -121,7 +121,7 @@ class ColorCycle(Animation):
class Blink(ColorCycle):
def __init__(self, pixel_object, speed, color):
super(Blink, self).__init__(pixel_object, speed, [self.color, BLACK])
super(Blink, self).__init__(pixel_object, speed, [color, BLACK])
@Animation.color.setter
def color(self, value):