Skip to content

Commit 79b9f6b

Browse files
author
Matt Land
committed
remove kw arg, now two work
1 parent 149061c commit 79b9f6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adafruit_imageload/pnm/pbm_binary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def load(file, width, height, bitmap=None, palette=None):
4444
next_byte = file.read(1)
4545
if not next_byte:
4646
break # out of bits
47-
for bit in iterbits(int.from_bytes(next_byte, byteorder="little")):
47+
for bit in iterbits(int.from_bytes(next_byte, "little")):
4848
bitmap[x, y] = bit
4949
x += 1
5050
if x > width - 1:

0 commit comments

Comments
 (0)