Skip to content

Commit

Permalink
fix assertion error py-pdf#960
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz committed Jun 14, 2022
1 parent 7eaf754 commit e4d8d68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion PyPDF2/_cmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ def parse_to_unicode(
] = unhexlify(sq).decode("utf-16-be", "surrogatepass")
int_entry.append(a)
a += 1
assert a > b
else:
c = int(lst[2], 16)
fmt2 = b"%%0%dX" % len(lst[2])
Expand Down

0 comments on commit e4d8d68

Please sign in to comment.