Skip to content

Commit 5b4b9c8

Browse files
committed
Workaround Pylint bug.
1 parent 2248b4f commit 5b4b9c8

File tree

1 file changed

+2
-2
lines changed
  • adafruit_led_animation/animation

1 file changed

+2
-2
lines changed

adafruit_led_animation/animation/comet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ def __init__(
6868
pixel_object,
6969
speed,
7070
color,
71-
tail_length=None,
71+
tail_length=0,
7272
reverse=False,
7373
bounce=False,
7474
name=None,
7575
):
76-
if tail_length is None:
76+
if tail_length is 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)