Skip to content

Conversation

@SamsonHyacinth
Copy link

Encountering a TypeError causes the script to fail, as the randint function does not accept float values as parameters. This issue may only occur with certain torrents, as I had previously used the script without encountering this problem. To address it, the min_up and max_up values are now explicitly cast to integers before being passed to randint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant