Skip to content

Commit 84ed366

Browse files
authored
Merge pull request #3 from jorgeecardona/set-eof-ignore-to-true
Set eof ignore to true
2 parents 461e601 + 9cea169 commit 84ed366

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

PyPDF2/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.26.0'
1+
__version__ = '1.26.1'

PyPDF2/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def skipOverComment(stream):
117117
tok = stream.read(1)
118118

119119

120-
def readUntilRegex(stream, regex, ignore_eof=False):
120+
def readUntilRegex(stream, regex, ignore_eof=True):
121121
"""
122122
Reads until the regular expression pattern matched (ignore the match)
123123
Raise PdfStreamError on premature end-of-file.

0 commit comments

Comments
 (0)