Merge pull request #327 from whipper-team/feature/issue-208-offset-find-exception

Prevent exception in offset find
This commit is contained in:
JoeLametta
2018-11-09 21:41:34 +01:00
committed by GitHub

View File

@@ -93,7 +93,9 @@ CD in the AccurateRip database."""
try:
responses = accurip.get_db_entry(table.accuraterip_path())
except accurip.EntryNotFound:
print('Accuraterip entry not found')
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))