We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a9a420 commit 85b5768Copy full SHA for 85b5768
pypdf/_writer.py
@@ -1236,11 +1236,11 @@ def generate_file_identifiers(self) -> None:
1236
required; see 14.4 "File Identifiers".
1237
"""
1238
if hasattr(self, "_ID") and self._ID and len(self._ID) == 2:
1239
- ID_1 = self._ID[0]
+ id1 = self._ID[0]
1240
else:
1241
- ID_1 = self._compute_document_identifier_from_content()
1242
- ID_2 = self._compute_document_identifier_from_content()
1243
- self._ID = ArrayObject((ID_1, ID_2))
+ id1 = self._compute_document_identifier_from_content()
+ id2 = self._compute_document_identifier_from_content()
+ self._ID = ArrayObject((id1, id2))
1244
1245
def encrypt(
1246
self,
0 commit comments