We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f9ea73 commit 61dac4dCopy full SHA for 61dac4d
adafruit_display_text/label.py
@@ -355,8 +355,8 @@ def text(self, new_text):
355
current_anchored_position = self.anchored_position
356
self._update_text(str(new_text))
357
self.anchored_position = current_anchored_position
358
- except RuntimeError as e:
359
- raise RuntimeError("Text length exceeds max_glyphs") from e
+ except RuntimeError as run_error:
+ raise RuntimeError("Text length exceeds max_glyphs") from run_error
360
361
@property
362
def font(self):
0 commit comments