Skip to content

Commit b3cd81f

Browse files
committed
Fix small error
1 parent 3d32968 commit b3cd81f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/isal/isal_zlib.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ cdef class Decompress:
389389
cdef Py_ssize_t old_size, new_size, left_size, offset
390390
cdef unsigned char * data_ptr
391391
if self.stream.block_state == ISAL_BLOCK_FINISH:
392+
self.eof = 1
392393
if self.stream.avail_in > 0:
393394
old_size = len(self.unused_data)
394395
data_ptr = data

0 commit comments

Comments
 (0)