Skip to content

Commit

Permalink
Update PyPDF2/generic/_base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Thoma <[email protected]>
  • Loading branch information
pubpub-zz and MartinThoma authored Sep 10, 2022
1 parent 6828da3 commit 8f44458
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion PyPDF2/generic/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ def writeToStream(

@staticmethod
def unnumber(sin: str) -> str:
i = 0
i = sin.find("#", 0)
while i >= 0:
sin = sin[:i] + chr(int(sin[i + 1 : i + 3], 16)) + sin[i + 3 :]
Expand Down

0 comments on commit 8f44458

Please sign in to comment.