pySmartDL
pySmartDL copied to clipboard
Wrong error message, if total file size doesn't match expected file size.
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.