Skip to content

Commit

Permalink
Pass toc_path as argument in program.py
Browse files Browse the repository at this point in the history
Resolves #368.

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
  • Loading branch information
JoeLametta committed Oct 21, 2019
1 parent 1be5add commit 2e966a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions whipper/common/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ def getTable(self, runner, cddbdiscid, mbdiscid, device, offset,
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
Expand Down

0 comments on commit 2e966a4

Please sign in to comment.