Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fix phantom option in webserver mode of EdgarRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
hefischer committed Aug 9, 2024
1 parent 5555a01 commit 8f681c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ def filingStart(self, cntlr, options, entrypointFiles, filing):
else: # options previously initialized
self.copyReAttrOptions(options)
# Transfer daemonCreatedFilders to this EdgarRenderer to deal with at filingEnd
if hasattr(options, "daemonCreatedFolders"):
if hasattr(options, "daemonCreatedFolders") and options.daemonCreatedFolders: # not None or empty list
self.createdFolders.extend(options.daemonCreatedFolders)
del options.daemonCreatedFolders # don't pass to any subsequent independent filing if any
mdlMgr = cntlr.modelManager
Expand Down

0 comments on commit 8f681c3

Please sign in to comment.