We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f12cd2 + b71ee1a commit 448b66bCopy full SHA for 448b66b
adafruit_matrixportal/graphics.py
@@ -57,8 +57,12 @@ def __init__(
57
self,
58
**kwargs,
59
):
60
- default_bg = kwargs.pop("default_bg")
61
- debug = kwargs.pop("debug")
+ default_bg = 0x000000
+ debug = False
62
+ if "default_bg" in kwargs:
63
+ default_bg = kwargs.pop("default_bg")
64
+ if "debug" in kwargs:
65
+ debug = kwargs.pop("debug")
66
67
matrix = Matrix(**kwargs)
68
adafruit_matrixportal/network.py
@@ -50,9 +50,11 @@ class Network(NetworkBase):
50
51
def __init__(self, **kwargs):
52
extract_values = True
53
54
if "extract_values" in kwargs:
55
extract_values = kwargs.pop("extract_values")
56
wifi = WiFi(**kwargs)
super().__init__(
0 commit comments