Browse Source

typo (#18)

Oups… Tester avant de pusher…
pull/22/head
Louis 11 years ago
parent
commit
c6ad807f4c
  1. 4
      songbook_core/templates.py

4
songbook_core/templates.py

@ -123,8 +123,8 @@ class TexRenderer(object):
templates = self.get_templates(self.template) templates = self.get_templates(self.template)
templates |= set([self.template.name]) templates |= set([self.template.name])
variables = {} variables = {}
regex = re.compile(r'\(* variables *\)\n(?P<variables>.*)' regex = re.compile(r'\(\* variables \*\)\n(?P<variables>.*)'
'\(* endvariables *\)', re.DOTALL) '\(\* endvariables \*\)', re.DOTALL)
for template_name in templates: for template_name in templates:
filename = self.texenv.get_template(template_name).filename filename = self.texenv.get_template(template_name).filename
with open(filename, 'r') as template_file: with open(filename, 'r') as template_file:

Loading…
Cancel
Save