mirror of
https://github.com/derrod/legendary.git
synced 2025-01-18 13:17:09 +00:00
[cli] Treat misc. verification failures as missing
This commit is contained in:
parent
1ac1875a86
commit
76a0ef6be7
|
@ -672,6 +672,9 @@ class LegendaryCLI:
|
||||||
elif result == VerifyResult.FILE_MISSING:
|
elif result == VerifyResult.FILE_MISSING:
|
||||||
logger.error(f'File is missing: "{path}"')
|
logger.error(f'File is missing: "{path}"')
|
||||||
missing.append(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')
|
stdout.write(f'Verification progress: {num}/{total} ({num * 100 / total:.01f}%)\t\n')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue