s3wipe icon indicating copy to clipboard operation
s3wipe copied to clipboard

Minor bug: Float returned by listThreads

Open bwollermann opened this issue 3 years ago • 2 comments

In line 208: listThreads = args.maxthreads / 3

can return a float value which causes an error

For example:

INFO: Starting 66.66666666666666 delete threads...

Modify listThreads to force an integer value and it will work: listThreads = int(args.maxthreads / 3)

bwollermann avatar Jun 08 '21 16:06 bwollermann

this helped me

davem-git avatar Jun 28 '21 20:06 davem-git

updated my PR to use listThreads = args.maxthreads // 3 which does the same with less brackets ;)

geekpete avatar Oct 11 '22 00:10 geekpete