From d67c0735321b364686f7500b1aa6f8121f10aa48 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Mon, 3 Sep 2007 17:09:30 +0200 Subject: [PATCH] MusicXML: Fix regression with piano staves In my cleanup I accidentally removed the Staff entry from the dict, which caused all PianoStaff objects to not be detected (as it checked for the Staff class, which was not generated whn marshalling the xml) Signed-off-by: Reinhold Kainhofer --- python/musicxml.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/musicxml.py b/python/musicxml.py index 8390671425..86d3120958 100644 --- a/python/musicxml.py +++ b/python/musicxml.py @@ -664,6 +664,7 @@ class_dict = { 'pitch': Pitch, 'rest': Rest, 'slur': Slur, + 'staff': Staff, 'syllabic': Syllabic, 'text': Text, 'time-modification': Time_modification, -- 2.39.5