We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 957335c + 7f9dc63 commit ff71151Copy full SHA for ff71151
adafruit_display_text/bitmap_label.py
@@ -228,9 +228,10 @@ def _reset_text(
228
0, # zero width with text == ""
229
0, # zero height with text == ""
230
)
231
- # Clear out any items in the self Group, in case this is an update to the bitmap_label
232
- for _ in self:
233
- self.pop(0)
+ # Clear out any items in the self.local_group Group, in case this is an
+ # update to the bitmap_label
+ for _ in self.local_group:
234
+ self.local_group.pop(0)
235
236
else: # The text string is not empty, so create the Bitmap and TileGrid and
237
# append to the self Group
0 commit comments