Skip to content

Commit

Permalink
fix Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz authored Jul 14, 2023
1 parent bdcfb9f commit 8ad0141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2921,7 +2921,7 @@ def merge(
pag[NameObject("/Annots")] = lst
self.clean_page(pag)

if "/AcroForm" in _ro and _ro['/AcroForm'] is not None:
if "/AcroForm" in _ro and _ro["/AcroForm"] is not None:
if "/AcroForm" not in self._root_object:
self._root_object[NameObject("/AcroForm")] = self._add_object(
cast(
Expand Down

0 comments on commit 8ad0141

Please sign in to comment.