idlesign / torrentool

The tool to work with torrent files.

Home Page:https://github.com/idlesign/torrentool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

condition never meets

IamDiwash opened this issue · comments

Maybe the intended code on line 356 on torrent.py is:
if (size_data>size_max)
because the condition:
if (size_piece>size_max) seems impossible to meet from code above it

Thank you for the report.

Yes, seems we need an edit and test suite improvement %)