Skip to content

Commit

Permalink
Style: Correcting code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ssjkamei committed Oct 5, 2024
1 parent bc96d93 commit 3273651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/_cmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def get_encoding(
def _parse_encoding(
ft: DictionaryObject
) -> Union[str, Dict[int, str]]:
encoding: Union[str, Dict[int, str]] = []
encoding: Union[str, List[str], Dict[int, str]] = []
if "/Encoding" not in ft:
try:
if "/BaseFont" in ft and cast(str, ft["/BaseFont"]) in charset_encoding:
Expand Down

0 comments on commit 3273651

Please sign in to comment.