We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5934db7 + d337b29 commit f0a80b9Copy full SHA for f0a80b9
adafruit_display_text/label.py
@@ -75,7 +75,7 @@ def __init__(self, font, **kwargs):
75
super().__init__(font, **kwargs)
76
77
max_glyphs = kwargs.get("max_glyphs", None)
78
- text = kwargs.get("text", None)
+ text = kwargs.get("text", "")
79
80
if not max_glyphs and not text:
81
raise RuntimeError("Please provide a max size, or initial text")
0 commit comments