Skip to content

Commit

Permalink
calculate_mb_toc_numbers(): toc is empty, not needed in exception mes…
Browse files Browse the repository at this point in the history
…sage
  • Loading branch information
zas authored and phw committed Jun 9, 2022
1 parent f65dcd7 commit 73b57bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picard/disc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def calculate_mb_toc_numbers(toc):
toc = _remove_data_track(toc)
num_tracks = len(toc)
if not num_tracks:
raise NotSupportedTOCError("Empty track list: %s", toc)
raise NotSupportedTOCError("Empty track list")

expected_tracknums = tuple(range(1, num_tracks+1))
tracknums = tuple(e.number for e in toc)
Expand Down

0 comments on commit 73b57bf

Please sign in to comment.