]> diplodocus.org Git - flac-archive/commitdiff
(tags_file): Hey, Off-by-one, so kind of you to visit. Go away!
authorepg <>
Thu, 12 Oct 2006 21:43:35 +0000 (21:43 +0000)
committerepg <>
Thu, 12 Oct 2006 21:43:35 +0000 (21:43 +0000)
fa-rip

diff --git a/fa-rip b/fa-rip
index d63f95181e289d19cfa23727f52e07a75c0b13ba..cfd3967ca831cfaefde9988f06ad558e479b4da9 100755 (executable)
--- a/fa-rip
+++ b/fa-rip
@@ -124,7 +124,7 @@ def tags_file(fn, trackcount, various, artist=None, album=None,
         c(fp.write, 'DATE[%s]=%s\n' % (country, date))
     have_date or c(fp.write, 'DATE=\n')
 
         c(fp.write, 'DATE[%s]=%s\n' % (country, date))
     have_date or c(fp.write, 'DATE=\n')
 
-    for i in xrange(1, trackcount):
+    for i in xrange(1, trackcount + 1):
         try:
             track = tracks.pop(0)
             title = track.title
         try:
             track = tracks.pop(0)
             title = track.title