1
0
Fork 0
mirror of https://github.com/kastdeur/lilydrum.git synced 2025-05-17 13:29:12 +02:00

various small updates in non-music files

This commit is contained in:
Eric Teunis de Boone 2015-11-18 03:03:44 +01:00
parent 87c2ef5fd8
commit 15ce8e7c1e
11 changed files with 137 additions and 47 deletions

View file

@ -203,7 +203,6 @@ class MakeDrum:
if line.startswith(u'\\include'):
# Rewrite includes to absolute location of file
incline = line.replace('\\include', '').strip('"\' ')
print("include "+incline)
if not incline.startswith('\\'): #already absolute
incline = os.path.join(os.path.relpath(os.path.dirname(file)), incline)
line = "\\include \""+incline+"\""