Skip to content

Commit

Permalink
Fix RLE decompress with bitstring 4.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
Daft-Freak committed May 16, 2024
1 parent 2eeb643 commit ae11b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ttblit/core/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def decompress(data, bit_length, output_length):
stream = ConstBitStream(bytes=data)
result = []
while len(result) < output_length:
t = stream.read(1)
t = stream.read(1).uint
if t:
count = stream.read(8).uint + 1
else:
Expand Down

0 comments on commit ae11b9b

Please sign in to comment.