Prevent exception in offset find

Whipper offset find needs a (remote) matching AccurateRip entry to perform its task and confirm the drive offset: if none is found, return early to prevent exception.

Fixes #208.
This commit is contained in:
JoeLametta
2018-11-09 08:00:00 +00:00
parent d7fd3fb507
commit 09c3e4771d

View File

@@ -95,6 +95,7 @@ CD in the AccurateRip database."""
except accurip.EntryNotFound:
logger.warning("AccurateRip entry not found: drive offset "
"can't be determined, try again with another disc")
return
if responses:
logger.debug('%d AccurateRip responses found.' % len(responses))