Browse Source

Deleted useless parameter. May be added later (I think it does break some tests)

pull/103/head
Louis 9 years ago
parent
commit
fe26591b72
  1. 2
      patacrep/songs/chordpro/__init__.py

2
patacrep/songs/chordpro/__init__.py

@ -41,7 +41,6 @@ class ChordproSong(Song):
content = self.cached['song'].content content = self.cached['song'].content
context = { context = {
'language': self.languages[0], 'language': self.languages[0],
"path": files.relpath(self.fullpath, os.path.dirname(output)),
"titles": self.titles, "titles": self.titles,
"authors": self.authors, "authors": self.authors,
"metadata": self.data, "metadata": self.data,
@ -49,6 +48,7 @@ class ChordproSong(Song):
"config": self.config, "config": self.config,
"content": content, "content": content,
} }
jinjaenv = Environment(loader=FileSystemLoader( jinjaenv = Environment(loader=FileSystemLoader(
self.get_template_paths(output_format) self.get_template_paths(output_format)
)) ))

Loading…
Cancel
Save