Lily{pipe,drum} was printed as a list

This commit is contained in:
Eric Teunis de Boone 2016-10-25 05:20:31 +02:00
parent 3be1d22031
commit c953696f97
1 changed files with 6 additions and 2 deletions

View File

@ -197,10 +197,14 @@ class MakeDrum:
break
if include_drum_file:
self.args.includes.insert(0, self.args.lilydrum)
for f in self.args.lilydrum:
print(f)
self.args.includes.insert(0, f)
if include_pipe_file:
self.args.includes.insert(0, self.args.lilypipe)
for f in self.args.lilypipe:
print(f)
self.args.includes.insert(0, f)
# set up a tmp file with template and file combined
tmp_file = os.path.join(tmp_dir, self.TMP_PREFIX + os.path.relpath(file).replace('../','').replace('music/','',1).replace('/', '-')[:-3] + self.args.suffix + '.ly')