From 81e7465ed24a058f011f17fa24d459b407319bd1 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 7 Dec 2010 17:16:21 +0000 Subject: [PATCH] Cosmetics --- lib/request/templates.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/request/templates.py b/lib/request/templates.py index 0049173bf..789242f45 100644 --- a/lib/request/templates.py +++ b/lib/request/templates.py @@ -12,8 +12,11 @@ from lib.request.connect import Connect as Request def getPageTemplate(payload, place): retVal = kb.originalPage + if payload and place: if (payload, place) not in kb.pageTemplates: kb.pageTemplates[(payload, place)], _ = Request.queryPage(payload, place, content=True) + retVal = kb.pageTemplates[(payload, place)] + return retVal