pySmartDL icon indicating copy to clipboard operation
pySmartDL copied to clipboard

Wrong error message, if total file size doesn't match expected file size.

Open ZonderP opened this issue 2 years ago • 0 comments

In pySmartDL.py in function 'post_threadpool_actions' there is the following line: errMsg = 'Diff between downloaded files and expected filesizes is {}B (filesize: {}, expected_filesize: {}, {} threads).'.format(total_filesize, expected_filesize, diff, threads)

This line is wrong and should be replaced by: errMsg = 'Diff between downloaded files and expected filesizes is {}B (filesize: {}, expected_filesize: {}, {} threads).'.format(diff, total_filesize, expected_filesize, threads)

The current error is very misleading.

ZonderP avatar Jan 27 '23 08:01 ZonderP