X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fmusicxml2ly.py;h=5cf53339a4159ad4fdbff77979907636d85b16e1;hb=e313fac84da1dcce559c9cfa549d57761aa9684a;hp=dda374d84e9f33562721b31dd70e0133e13f03cd;hpb=bfc3420ada8810d57156e9fc871560188f044a64;p=lilypond.git diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index dda374d84e..5cf53339a4 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -178,7 +178,7 @@ def extract_score_information (tree): if work: work_title = work.get_work_title () set_if_exists ('title', work_title) - if work_title == '': + if work_title == '' and movement_title : set_if_exists ('title', movement_title.get_text ()) elif movement_title: set_if_exists ('subtitle', movement_title.get_text ())