Skip to content

Commit

Permalink
fix double wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Nov 15, 2017
1 parent c199b33 commit 00c0822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/app/folder/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def index_html(self, REQUEST=None, RESPONSE=None):
# Acquire from parent
parent = aq_parent(aq_inner(self))
target = parent.aq_acquire('index_html')
return ReplaceableWrapper(target).__of__(parent).__of__(self)
return ReplaceableWrapper(target.aq_base).__of__(parent).__of__(self)

index_html = ComputedAttribute(index_html, 1)

Expand Down

0 comments on commit 00c0822

Please sign in to comment.