* morituri/program/cdparanoia.py:
Make sure we calculate fractional speed.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2012-11-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/program/cdparanoia.py:
|
||||
Make sure we calculate fractional speed.
|
||||
|
||||
2012-11-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
patch by: mustbenice
|
||||
|
||||
@@ -373,7 +373,7 @@ class ReadTrackTask(log.Loggable, task.Task):
|
||||
self.exception = ReturnCodeError(self._popen.returncode)
|
||||
|
||||
self.quality = self._parser.getTrackQuality()
|
||||
self.speed = (offsetLength / 75) / (end_time - self._start_time)
|
||||
self.speed = (offsetLength / 75.0) / (end_time - self._start_time)
|
||||
|
||||
self.stop()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user