]> git.donarmstrong.com Git - lilypond.git/commitdiff
musicxml: if no work-number or opus is found, return an empty string.
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 24 Aug 2007 22:49:10 +0000 (00:49 +0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 1 Sep 2007 03:07:33 +0000 (00:07 -0300)
python/musicxml.py

index 2056805aeee13accd26da2173f1404c5019b18b5..12cc62a777e85fee41d03f6c209cc84a33dceee5 100644 (file)
@@ -88,7 +88,7 @@ class Work (Xml_node):
         if wt:
             return wt.get_text ()
         else:
-            return self.get_text ()
+            return ''
       
     def get_work_title (self):
         return self.get_work_information ('work-title')