From 31040fa5b108f5400cc15468611c694e964a613c Mon Sep 17 00:00:00 2001
From: Reinhold Kainhofer <reinhold@kainhofer.com>
Date: Sat, 25 Aug 2007 00:49:10 +0200
Subject: [PATCH] musicxml: if no work-number or opus is found, return an empty
 string.

---
 python/musicxml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/musicxml.py b/python/musicxml.py
index 2056805aee..12cc62a777 100644
--- a/python/musicxml.py
+++ b/python/musicxml.py
@@ -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')
-- 
2.39.5