]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/musicxml.py
MusicXML: For notes/rests w/o type, use <duration> to calculate proper length
[lilypond.git] / python / musicxml.py
index e1a9446826bc18d7311110e992712bda8b62f0e9..0e1cb4ae6d087da34db85133daa7d453af274044 100644 (file)
@@ -382,8 +382,7 @@ class Note (Measure_element):
            # FIXME: is it ok to default to eight note for grace notes?
            return 3
         else:
-            self.message (_ ("Encountered note at %s with %s duration (no <type> element):") % (self.start, self.duration) )
-            return 0
+            return None
 
     def get_factor (self):
         return 1