Skip to content

Commit df1c8ea

Browse files
committed
fix bug with scale initialization
1 parent 9846796 commit df1c8ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adafruit_display_text/bitmap_label.py

100644100755
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ def __init__(
119119
scale = kwargs["scale"]
120120
kwargs.pop(
121121
"scale"
122-
) # Do not change scale of self Group, use this value to set scale of
123-
# local_group
122+
) # Do not change scale of self Group, use this value to set scale of local_group
123+
else:
124+
scale = 1 # Set default scale=1
124125

125126
# instance the Group
126127
# self Group will contain a single local_group which contains one TileGrid which contains

0 commit comments

Comments
 (0)