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 7767d88405
commit 50f0cd4a18
1 changed files with 6 additions and 2 deletions

View File

@ -203,10 +203,14 @@ class MakeDrum:
print('no lilypipe file')
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')