Skip to content

Commit

Permalink
Merge pull request #112 from hermfischer-wf/edgar24.2-upd3
Browse files Browse the repository at this point in the history
  • Loading branch information
austinmatherne-wk committed Jul 11, 2024
2 parents 88d5946 + 767fe88 commit 966e484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def processInstance(self, options, modelXbrl, filing, report):
# skip rendering if major errors and abortOnMajorError
# errorCountDuringValidation = len(Utils.xbrlErrors(modelXbrl))
# won't work for all possible logHandlers (some emit immediately)
attachmentDocumentType = getattr(modelXbrl, "efmIxdsType")
attachmentDocumentType = getattr(modelXbrl, "efmIxdsType", None)
# strip on error if preceding primary inline instance had no error and exhibitType strips on error
stripExhibitOnError = self.success and bool(
filing.exhibitTypesStrippingOnErrorPattern.match(attachmentDocumentType or ""))
Expand Down Expand Up @@ -1008,7 +1008,7 @@ def filingEnd(self, cntlr, options, filesource, filing, sourceZipStream=None, *a
privateRefDocs = set()
for report in filing.reports:
# note that there is no efmIxdsType if EFM validation is not enabled
if (filing.exhibitTypesPrivateNotDisseminated.match(getattr(report.modelXbrl, "efmIxdsType") or "") or
if (filing.exhibitTypesPrivateNotDisseminated.match(getattr(report.modelXbrl, "efmIxdsType", None) or "") or
getattr(report, "securityClassification", None) == "confidential"):
report.isNotDisseminated = True
privateFilesNotDisseminated.update(report.basenames)
Expand Down

0 comments on commit 966e484

Please sign in to comment.