Skip to content

Commit 9037b25

Browse files
brentrubrentru
brentru
authored and
brentru
committed
fix pylint error
1 parent 20a8b45 commit 9037b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_dymoscale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def get_scale_data(self):
133133
the_byte |= bits[byte_n*8 + bit_n]
134134
data_bytes[byte_n] = the_byte
135135
# do some very basic data checking
136-
if data_bytes[0] != 3 and data_bytes[0] != 2: # check the MSB (differs between DYMO scale models)
136+
if data_bytes[0] != 3 and data_bytes[0] != 2:
137137
raise RuntimeError("Bad data capture")
138138
if data_bytes[1] != 3 or data_bytes[7] != 4 or data_bytes[8] != 0x1C:
139139
raise RuntimeError("Bad data capture")

0 commit comments

Comments
 (0)