1
0
Fork 0
mirror of https://github.com/kastdeur/lilydrum.git synced 2024-12-22 09:13:33 +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 7767d88405
commit 50f0cd4a18

View file

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