X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/e5335f94e64a4a312512be3953a212a5593c18ba..a5a242616d9e5d20e507d810118ff562d7a277f1:/src/songs/musicxmltosong.py diff --git a/src/songs/musicxmltosong.py b/src/songs/musicxmltosong.py index ffb5247..3de33ca 100755 --- a/src/songs/musicxmltosong.py +++ b/src/songs/musicxmltosong.py @@ -29,7 +29,7 @@ class Note(object) : self.octave = int(_getNodeValue(node, 'pitch/octave')) self.alter = int(_getNodeValue(node, 'pitch/alter', 0)) self._duration = float(_getNodeValue(node, 'duration')) - self.lyric = _getNodeValue(node, 'lyric/text') + self.lyric = _getNodeValue(node, 'lyric/text', '') self.divisions = divisions