Skip to content

Commit 148a3bd

Browse files
author
Nathanaël Renaud
committed
fix code style...
1 parent c627b3a commit 148a3bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pypdf/_page.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,9 @@ def _get_ids_image(
461461
if PG.RESOURCES in obj:
462462
if RES.PATTERN in cast(DictionaryObject, obj[PG.RESOURCES]):
463463
for patternName, pattern in obj[PG.RESOURCES][RES.PATTERN].items():
464-
if PG.RESOURCES in pattern.get_object() and RES.XOBJECT in cast(DictionaryObject, pattern[PG.RESOURCES]):
464+
if PG.RESOURCES in pattern.get_object() and RES.XOBJECT in cast(
465+
DictionaryObject, pattern[PG.RESOURCES]
466+
):
465467
x_object = pattern[PG.RESOURCES][RES.XOBJECT].get_object() # type: ignore
466468
for o in x_object:
467469
if not isinstance(x_object[o], StreamObject):

0 commit comments

Comments
 (0)