From 2135dcbc813427192e1522c4b03caa5f17c826aa Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 18 Jun 2020 18:07:51 -0400 Subject: [PATCH 1/2] Fix differing argument. --- adafruit_led_animation/sequence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_led_animation/sequence.py b/adafruit_led_animation/sequence.py index f1aba9c..cf9ce3f 100644 --- a/adafruit_led_animation/sequence.py +++ b/adafruit_led_animation/sequence.py @@ -317,6 +317,6 @@ def on_cycle_complete(self): super().on_cycle_complete() self._running = False - def animate(self): + def animate(self, show=True): super().animate() return self._running From ab9fd1c32d28f7e3811274ec3afe06ee95a99173 Mon Sep 17 00:00:00 2001 From: Roy Hooper Date: Thu, 18 Jun 2020 20:22:11 -0400 Subject: [PATCH 2/2] pass show param to super --- adafruit_led_animation/sequence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_led_animation/sequence.py b/adafruit_led_animation/sequence.py index cf9ce3f..31aac05 100644 --- a/adafruit_led_animation/sequence.py +++ b/adafruit_led_animation/sequence.py @@ -318,5 +318,5 @@ def on_cycle_complete(self): self._running = False def animate(self, show=True): - super().animate() + super().animate(show) return self._running