Fix offset find command

The refactoring of `ReadTOCTask` in commit 3e79032b63
broke the `offset find` command. This commit fixes it again.

Signed-off-by: Volker Mische <volker.mische@gmail.com>
This commit is contained in:
Volker Mische
2019-07-05 00:04:51 +02:00
parent 7a4680f285
commit 9cf890a6e2

View File

@@ -85,7 +85,8 @@ CD in the AccurateRip database."""
# first get the Table Of Contents of the CD
t = cdrdao.ReadTOCTask(device)
table = t.table
runner.run(t)
table = t.toc.table
logger.debug("CDDB disc id: %r", table.getCDDBDiscId())
try: