]>
gitweb.michael.orlitzky.com - dead/pictar.git/blob - TemplateParser.py
12da1d38a11342ddd87a8274c4fd04ec57148553
2 from string
import Template
7 def GetPageTemplate(self
):
8 """ Read the page template file into a string. """
9 page_template_path
= Configuration
.GetPageTemplatePath()
10 page_template_file
= open(page_template_path
, "r")
11 page_template
= Template(page_template_file
.read())
12 page_template_file
.close()