Skip to content

Commit 51a7868

Browse files
committed
Fix issue when there are multiple labels
1 parent 4e4b66c commit 51a7868

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_pyportal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ def __init__(
383383
text_maxlen = [0] * num
384384
if not text_transform:
385385
text_transform = [None] * num
386+
if not isinstance(text_scale, (list, tuple)):
387+
text_scale = [text_scale] * num
386388
else:
387389
num = 1
388390
text_position = (text_position,)

0 commit comments

Comments
 (0)