From a5a242616d9e5d20e507d810118ff562d7a277f1 Mon Sep 17 00:00:00 2001 From: pin Date: Fri, 5 Feb 2010 12:42:12 +0000 Subject: [PATCH] =?utf8?q?Cha=C3=AEne=20vide=20si=20pas=20de=20parole=20po?= =?utf8?q?ur=20une=20note.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@6 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/songs/musicxmltosong.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1