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

Error with locally included files fixed

This commit is contained in:
Eric Teunis de Boone 2016-02-21 22:09:24 +01:00
parent a6e449a91b
commit b2c758c36c

View file

@ -152,7 +152,6 @@ class MakeDrum:
if not self.args.log:
print()
lilyout = os.path.join(self.RUN_DIR, self.args.out_dir, os.path.basename(tmp_file).replace(self.TMP_PREFIX, '').replace(".ly", ''))
print (lilyout)
lilycmd = self.LILYPOND+' --pdf --output='+lilyout+' '+tmp_file+log
if os.system(lilycmd) != 0:
@ -196,8 +195,6 @@ class MakeDrum:
# 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('../music-','',1).replace('/', '-'))
print(file + ' is to be templated')
print(tmp_file + ' is templated file')
out_file = codecs.open(tmp_file, 'w+', 'utf8')
out_file.write(u'\ufeff')