Skip to content

Commit 352513a

Browse files
authored
Merge pull request #26 from tekktrik/main
Fix pylint issues
2 parents afa2872 + 71cb62e commit 352513a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_bitbangio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def _read(self, address: int, length: int) -> bytearray:
299299
raise RuntimeError(f"Device not responding at 0x{address:02X}")
300300
buffer = bytearray(length)
301301
for byte_position in range(length):
302-
buffer[byte_position] = self._read_byte(ack=(byte_position != length - 1))
302+
buffer[byte_position] = self._read_byte(ack=byte_position != length - 1)
303303
self._stop()
304304
return buffer
305305

0 commit comments

Comments
 (0)