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 7fe54b5 commit 9df3258Copy full SHA for 9df3258
adafruit_portalbase/__init__.py
@@ -392,7 +392,7 @@ def _fill_text_labels(self, values):
392
if self._text:
393
value_index = 0 # In case values and text is not the same
394
for i in range(len(self._text)):
395
- if not self._text[i]["is_data"] or value_index > len(values) - 1:
+ if not self._text[i]["is_data"] or (value_index > len(values) - 1):
396
continue
397
string = None
398
if self._text[i]["transform"]:
0 commit comments