Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 966e484

Browse files
Merge pull request #112 from hermfischer-wf/edgar24.2-upd3
2 parents 88d5946 + 767fe88 commit 966e484

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ def processInstance(self, options, modelXbrl, filing, report):
782782
# skip rendering if major errors and abortOnMajorError
783783
# errorCountDuringValidation = len(Utils.xbrlErrors(modelXbrl))
784784
# won't work for all possible logHandlers (some emit immediately)
785-
attachmentDocumentType = getattr(modelXbrl, "efmIxdsType")
785+
attachmentDocumentType = getattr(modelXbrl, "efmIxdsType", None)
786786
# strip on error if preceding primary inline instance had no error and exhibitType strips on error
787787
stripExhibitOnError = self.success and bool(
788788
filing.exhibitTypesStrippingOnErrorPattern.match(attachmentDocumentType or ""))
@@ -1008,7 +1008,7 @@ def filingEnd(self, cntlr, options, filesource, filing, sourceZipStream=None, *a
10081008
privateRefDocs = set()
10091009
for report in filing.reports:
10101010
# note that there is no efmIxdsType if EFM validation is not enabled
1011-
if (filing.exhibitTypesPrivateNotDisseminated.match(getattr(report.modelXbrl, "efmIxdsType") or "") or
1011+
if (filing.exhibitTypesPrivateNotDisseminated.match(getattr(report.modelXbrl, "efmIxdsType", None) or "") or
10121012
getattr(report, "securityClassification", None) == "confidential"):
10131013
report.isNotDisseminated = True
10141014
privateFilesNotDisseminated.update(report.basenames)

0 commit comments

Comments
 (0)