]>
gitweb.michael.orlitzky.com - dead/pictar.git/blob - TemplateParser.py
fcf044cd22ae0a32d7a5854834d302cd66772e61
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()