diff --git a/adafruit_matrixportal/network.py b/adafruit_matrixportal/network.py index 90aee94..88fd367 100755 --- a/adafruit_matrixportal/network.py +++ b/adafruit_matrixportal/network.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): if "debug" in kwargs: debug = kwargs.pop("debug") - if "status_neopixel" in kwargs: - status_neopixel = kwargs.pop("status_neopixel") + status_neopixel = kwargs.pop("status_neopixel", None) + if status_neopixel: status_led = neopixel.NeoPixel(status_neopixel, 1, brightness=0.2) else: status_led = None