From 2e966a446d0dc9a7dc8342ef1dd5d33417ca008b Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Mon, 21 Oct 2019 14:00:00 +0000 Subject: [PATCH] Pass toc_path as argument in program.py Resolves #368. Signed-off-by: JoeLametta --- whipper/common/program.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/whipper/common/program.py b/whipper/common/program.py index 96686b0..5cb1e79 100644 --- a/whipper/common/program.py +++ b/whipper/common/program.py @@ -126,9 +126,8 @@ class Program: logger.debug('getTable: cddbdiscid %s, mbdiscid %s not in cache ' 'for offset %s, reading table', cddbdiscid, mbdiscid, offset) - t = cdrdao.ReadTOCTask(device) + t = cdrdao.ReadTOCTask(device, toc_path=toc_path) t.description = "Reading table" - t.toc_path = toc_path runner.run(t) itable = t.toc.table tdict[offset] = itable