From 9cf890a6e29ce371d7cc252018e8af522e7799b7 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Fri, 5 Jul 2019 00:04:51 +0200 Subject: [PATCH] Fix offset find command The refactoring of `ReadTOCTask` in commit 3e79032b63d25d7f2d66a73ad31f9c2db91d390c broke the `offset find` command. This commit fixes it again. Signed-off-by: Volker Mische --- whipper/command/offset.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/whipper/command/offset.py b/whipper/command/offset.py index 8dace363..9b59bf6d 100644 --- a/whipper/command/offset.py +++ b/whipper/command/offset.py @@ -85,7 +85,8 @@ def do(self): # 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: