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:
parent
7767d88405
commit
50f0cd4a18
1 changed files with 6 additions and 2 deletions
8
makedrum
8
makedrum
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue