Browse Source

Quick fixes

pull/142/head
Oliverpool 9 years ago
parent
commit
b96fc1675f
  1. 2
      patacrep/content/song.py
  2. 3
      test/test_compilation/test_compilation.py

2
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']),
)

3
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:

Loading…
Cancel
Save