X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fmusicxml.py;h=519a0c3f6c531e80512987a1cbbbf00f0187da42;hb=9f3572d98bb948c9689cd1f75401a029451fa001;hp=3466473c4352a879c2d1259e46f4f3b6d90f6f4a;hpb=04265f11d1f21416ccebd2dcaa1d903dc781b36e;p=lilypond.git diff --git a/python/musicxml.py b/python/musicxml.py index 3466473c43..519a0c3f6c 100644 --- a/python/musicxml.py +++ b/python/musicxml.py @@ -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 ()