We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b4b9c8 commit c7d1950Copy full SHA for c7d1950
adafruit_led_animation/animation/comet.py
@@ -73,7 +73,7 @@ def __init__(
73
bounce=False,
74
name=None,
75
):
76
- if tail_length is 0:
+ if tail_length == 0:
77
tail_length = len(pixel_object) // 4
78
else:
79
tail_length = max(2, min(tail_length, len(pixel_object)))
0 commit comments