Skip to content

Commit 437f6a2

Browse files
committed
simplify expression for lint
1 parent a913137 commit 437f6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_display_text/text_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __init__(
9595
)
9696

9797
text_empty = False
98-
if kwargs.get("text", "") == "":
98+
if not kwargs.get("text", ""):
9999
text_empty = True
100100
kwargs["text"] = " "
101101

0 commit comments

Comments
 (0)