* examples/readhtoa.py:

Fix example.
This commit is contained in:
Thomas Vander Stichele
2009-05-10 14:51:29 +00:00
parent 54d4cecd34
commit 4040fafd3f
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2009-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/readhtoa.py:
Fix example.
2009-05-07 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/image/table.py:

View File

@@ -46,7 +46,7 @@ def main():
runner.run(t)
# now check if we have a hidden track one audio
track = t.toc.tracks[0]
track = t.table.tracks[0]
try:
index = track.getIndex(0)
except KeyError:
@@ -58,7 +58,7 @@ def main():
print 'Found Hidden Track One Audio from frame %d to %d' % (start, stop)
# rip it
riptask = cdparanoia.ReadVerifyTrackTask('track00.wav', toc,
riptask = cdparanoia.ReadVerifyTrackTask('track00.wav', table,
start, stop - 1,
offset=int(options.offset))
runner.run(riptask)