X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fpictar.git;a=blobdiff_plain;f=TemplateParser.py;h=12da1d38a11342ddd87a8274c4fd04ec57148553;hp=fcf044cd22ae0a32d7a5854834d302cd66772e61;hb=a913a82677784cb48487a37e05ffb04c98dee0ad;hpb=c21bdc3222daa73da76c057ee00106e04ace4c77 diff --git a/TemplateParser.py b/TemplateParser.py index fcf044c..12da1d3 100644 --- a/TemplateParser.py +++ b/TemplateParser.py @@ -5,12 +5,10 @@ from string import Template class TemplateParser: def GetPageTemplate(self): - # Read the page template file into a string + """ Read the page template file into a string. """ page_template_path = Configuration.GetPageTemplatePath() page_template_file = open(page_template_path, "r") page_template = Template(page_template_file.read()) page_template_file.close() return page_template - -