From fe26591b7268bd87aa0b0fa6e07005c703e45813 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 23 Sep 2015 17:56:45 +0200 Subject: [PATCH] Deleted useless parameter. May be added later (I think it does break some tests) --- patacrep/songs/chordpro/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patacrep/songs/chordpro/__init__.py b/patacrep/songs/chordpro/__init__.py index c0328d4b..bcaa68bd 100644 --- a/patacrep/songs/chordpro/__init__.py +++ b/patacrep/songs/chordpro/__init__.py @@ -41,7 +41,6 @@ class ChordproSong(Song): content = self.cached['song'].content context = { 'language': self.languages[0], - "path": files.relpath(self.fullpath, os.path.dirname(output)), "titles": self.titles, "authors": self.authors, "metadata": self.data, @@ -49,6 +48,7 @@ class ChordproSong(Song): "config": self.config, "content": content, } + jinjaenv = Environment(loader=FileSystemLoader( self.get_template_paths(output_format) ))