deflake, remove morituri hack, more error handling

This commit is contained in:
Samantha Baldwin
2017-09-04 21:55:05 -04:00
parent 007dc0729e
commit 83729ef7f3
10 changed files with 27 additions and 30 deletions

View File

@@ -6,10 +6,12 @@ logger = logging.getLogger(__name__)
ARB = 'accuraterip-checksum'
FLAC = 'flac'
def _execute(cmd, **redirects):
logger.debug('executing %r', cmd)
return Popen(cmd, **redirects)
def accuraterip_checksum(f, track_number, total_tracks, wave=False, v2=False):
v = '--accuraterip-v1'
if v2: