Skip to content

Commit c7d1950

Browse files
committed
is to --.
1 parent 5b4b9c8 commit c7d1950

File tree

1 file changed

+1
-1
lines changed
  • adafruit_led_animation/animation

1 file changed

+1
-1
lines changed

adafruit_led_animation/animation/comet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(
7373
bounce=False,
7474
name=None,
7575
):
76-
if tail_length is 0:
76+
if tail_length == 0:
7777
tail_length = len(pixel_object) // 4
7878
else:
7979
tail_length = max(2, min(tail_length, len(pixel_object)))

0 commit comments

Comments
 (0)