Cast peak into a float for cases where it isn't (e.g. when HTOA generates a peak of 0)
This commit is contained in:
@@ -431,7 +431,7 @@ Install pycdio and run 'rip offset find' to detect your drive's offset.
|
||||
raise
|
||||
|
||||
self.stdout.write('Peak level: %.2f %%\n' % (
|
||||
math.sqrt(trackResult.peak) * 100.0, ))
|
||||
float(math.sqrt(trackResult.peak) * 100.0, )))
|
||||
self.stdout.write('Rip quality: %.2f %%\n' % (
|
||||
trackResult.quality * 100.0, ))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user