diff --git a/patacrep/content/song.py b/patacrep/content/song.py index 71473aa8..4f9ab809 100755 --- a/patacrep/content/song.py +++ b/patacrep/content/song.py @@ -42,7 +42,7 @@ class SongRenderer(Content): {song} """).format( separator="%"*80, - path=self.song.subpath, + path=files.path2posix(self.song.subpath), song=self.song.render(output=context['filename']), ) diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index ab032389..bcdb365b 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -109,8 +109,7 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): command, stderr=subprocess.STDOUT, universal_newlines=True, - cwd=os.path.dirname(songbook), - env=current_env + cwd=os.path.dirname(songbook) ) return 0 except subprocess.CalledProcessError as error: