]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/musicxml.py
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / python / musicxml.py
index 3466473c4352a879c2d1259e46f4f3b6d90f6f4a..519a0c3f6c531e80512987a1cbbbf00f0187da42 100644 (file)
@@ -165,7 +165,7 @@ class Attributes (Measure_element):
         "return (fifths, mode) tuple"
 
         key = self.get_named_attribute ('key')
-        mode_node = key.get_maybe_exist_named_child ('mode')
+        mode_node = self.get_maybe_exist_named_child ('mode')
         mode = 'major'
         if mode_node:
             mode = mode_node.get_text ()