Skip to content

Commit c5eb147

Browse files
committed
Rename string class attribute to label
1 parent 289cb41 commit c5eb147

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_hts221.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ def add_values(
7676
) -> None:
7777
"""creates CV entries"""
7878
cls.contents = {}
79-
cls.string = {}
79+
cls.label = {}
8080

8181
for value_tuple in value_tuples:
82-
name, value, string = value_tuple
82+
name, value, label = value_tuple
8383
setattr(cls, name, value)
84-
cls.string[value] = string
84+
cls.label[value] = label
8585

8686
@classmethod
8787
def is_valid(cls, value: int) -> bool:

0 commit comments

Comments
 (0)