[SCM] morituri/master: Compare AccurateRip to num tracks -1, as last track not being checked

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:10:03 UTC 2014


The following commit has been merged in the master branch:
commit 70d39feee9db6a85bfe3b4315ff2813f8018cf40
Author: dioltas <dioltas at lavabit.com>
Date:   Sun Mar 3 23:17:20 2013 +0000

    Compare AccurateRip to num tracks -1, as last track not being checked

diff --git a/morituri/rip/offset.py b/morituri/rip/offset.py
index bc7ca1d..26c14b2 100644
--- a/morituri/rip/offset.py
+++ b/morituri/rip/offset.py
@@ -188,7 +188,7 @@ CD in the AccurateRip database."""
                             track, i))
                         count += 1
 
-                if count == len(table.tracks):
+                if count == len(table.tracks) - 1:
                     self._foundOffset(device, offset)
                     return 0
                 else:

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list