Fix for an Issue #638

This commit is contained in:
Miroslav Stampar 2014-03-14 16:44:56 +01:00
parent ae36c08f12
commit be3fd8bb29

View File

@ -13,7 +13,7 @@ def getPageTemplate(payload, place):
if payload and place:
if (payload, place) not in kb.pageTemplates:
page, _ = Request.queryPage(payload, place, content=True)
page, _ = Request.queryPage(payload, place, content=True, raise404=False)
kb.pageTemplates[(payload, place)] = (page, kb.lastParserStatus is None)
retVal = kb.pageTemplates[(payload, place)]