Commit b06ce8b4 authored by Roque's avatar Roque

officejs_base: fix document fetch in appstore web section

parent dc6766f3
......@@ -52,7 +52,7 @@ document_list = context.searchResults(
if len(document_list) == 0:
# Default returns None
document = None
return context.WebSection_getDocumentValue(name, **kw)
else:
# Try to get the first page on the list
document = document_list[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment