projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+ chansons dans svn:ignore.
[minwii.git]
/
src
/
minwii
/
loganalyse.py
diff --git
a/src/minwii/loganalyse.py
b/src/minwii/loganalyse.py
index
f3e5e32
..
61b0382
100755
(executable)
--- a/
src/minwii/loganalyse.py
+++ b/
src/minwii/loganalyse.py
@@
-139,10
+139,7
@@
class LogFileAnalyser(LogFileReader) :
songFile = self.getSongFile()
song = musicXml2Song(songFile)
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
return self._toTimeDelta(duration)
@statsresults