X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/fe914ab0f0814933a07c70bc8730bc646f722929..fa5bf40bfe796d33480a09d9e6400502552d66f7:/src/minwii/loganalyse.py?ds=sidebyside

diff --git a/src/minwii/loganalyse.py b/src/minwii/loganalyse.py
index f3e5e32..61b0382 100755
--- a/src/minwii/loganalyse.py
+++ b/src/minwii/loganalyse.py
@@ -139,10 +139,7 @@ class LogFileAnalyser(LogFileReader) :
         
         songFile = self.getSongFile()
         song = musicXml2Song(songFile)
-        duration = 0
-        for note, verseIndex in song.iterNotes() :
-            duration = duration + note.duration
-        duration = duration * song.quarterNoteDuration # en milisecondes
+        duration = song.duration
         return self._toTimeDelta(duration)
     
     @statsresults