1
0
Fork 0
mirror of https://github.com/kastdeur/lilydrum.git synced 2024-12-22 17:23:32 +01:00

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

View file

@ -197,10 +197,14 @@ class MakeDrum:
break break
if include_drum_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: 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 # 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') tmp_file = os.path.join(tmp_dir, self.TMP_PREFIX + os.path.relpath(file).replace('../','').replace('music/','',1).replace('/', '-')[:-3] + self.args.suffix + '.ly')