[cli] Treat misc. verification failures as missing

This commit is contained in:
derrod 2020-05-23 16:57:06 +02:00
parent 1ac1875a86
commit 76a0ef6be7

View file

@ -672,6 +672,9 @@ class LegendaryCLI:
elif result == VerifyResult.FILE_MISSING:
logger.error(f'File is missing: "{path}"')
missing.append(path)
else:
logger.error(f'Other failure (see log), treating file as missing: "{path}"')
missing.append(path)
stdout.write(f'Verification progress: {num}/{total} ({num * 100 / total:.01f}%)\t\n')