summaryrefslogtreecommitdiff
path: root/scripts/musicxml2ly.py
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2005-12-14 13:57:37 +0000
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2005-12-14 13:57:37 +0000
commit1f467e5f3fed31636e83221dfee53f2805837750 (patch)
tree8dacbac291c9558fc4a5d40d137de4b42b236864 /scripts/musicxml2ly.py
parent498009ebeb0f902eb18a9e21db8e0a2b7e694fa0 (diff)
(convert): add \version
Diffstat (limited to 'scripts/musicxml2ly.py')
-rw-r--r--scripts/musicxml2ly.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py
index f5cbc8e20e..dddafd08e3 100644
--- a/scripts/musicxml2ly.py
+++ b/scripts/musicxml2ly.py
@@ -439,9 +439,10 @@ def convert (filename, output_name):
printer.file = open (output_name,'w')
progress ("Printing as .ly...")
+
+ printer.dump_version ()
for (k,v) in voices.items():
printer.print_verbatim ('%% converted from %s\n' % filename)
- printer.dump_version ()
printer.dump ('%s = ' % k)
v.print_ly (printer)
printer.newline()