OmegaPhil/animecheck

Misleading checksum file completion message after errors, checksum file leaves no indication of issues

Closed this issue · 1 comments

Even after errors during file hashing for checksum file creation (e.g. '[Errno 5] Input/output error'), the following is still reported at the end:

Checksum file '' has been written successfully

It was probably a throughaway line to indicate the writing of the checksum file to disc worked, but it gives the wrong impression of the job as a whole.

Worse than this, the failed files leave no record in the checksum file, and therefore if the user uses the subsequent file after not paying attention to the original generation, they may be led to believe the dataset is not corrupt.

Fixed in #e5989e8bf8aa0830a0084025232b77c80a7bdf0c