diff --git a/morituri/common/program.py b/morituri/common/program.py index 1b7ea61..685a3ad 100644 --- a/morituri/common/program.py +++ b/morituri/common/program.py @@ -133,7 +133,7 @@ class Program(log.Loggable): ptoc.persist(t.table) toc = ptoc.object assert toc.hasTOC() - return (toc, version) + return toc def getTable(self, runner, cddbdiscid, mbdiscid, device): """ diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index 444ee18..c2acb28 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -69,7 +69,7 @@ class _CD(logcommand.LogCommand): self.program.unmountDevice(self.device) # first, read the normal TOC, which is fast - self.ittoc, version = self.program.getFastToc(self.runner, + self.ittoc = self.program.getFastToc(self.runner, self.options.toc_pickle, self.device)