Skip to content

Commit

Permalink
Fix ripping discs with less than ten tracks
Browse files Browse the repository at this point in the history
Output lines of cdrdao for single digit track numbers with a
whitespace character.

Broken since whipper-team#345 was merged.

Signed-off-by: Andreas Oberritter <obi@saftware.de>
  • Loading branch information
mtdcr committed Sep 22, 2019
1 parent 4a45db8 commit 2db3ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whipper/program/cdrdao.py
Expand Up @@ -19,7 +19,7 @@
_CRC_RE = re.compile(
r"Found (?P<channels>[0-9]*) Q sub-channels with CRC errors")
_BEGIN_CDRDAO_RE = re.compile(r"-" * 60)
_LAST_TRACK_RE = re.compile(r"^(?P<track>[0-9]*)")
_LAST_TRACK_RE = re.compile(r"^[ ]?(?P<track>[0-9]*)")
_LEADOUT_RE = re.compile(
r"^Leadout AUDIO\s*[0-9]\s*[0-9]*:[0-9]*:[0-9]*\([0-9]*\)")

Expand Down

0 comments on commit 2db3ece

Please sign in to comment.