Closed Rebeljah closed 2 years ago
https://github.com/DIGITALCRIMINAL/OnlyFans/blob/d1a5f7112eb95145fbfa9a3c58e3a49d69cbd10a/tests/main_test.py#L12
python_version = float(python_version) Incorrectly converts "3.10" to 3.1. This can be fixed by using tuple comparison rather than converting the version to a float.
python_version = float(python_version)
duplicate #1535
https://github.com/DIGITALCRIMINAL/OnlyFans/blob/d1a5f7112eb95145fbfa9a3c58e3a49d69cbd10a/tests/main_test.py#L12
python_version = float(python_version)
Incorrectly converts "3.10" to 3.1. This can be fixed by using tuple comparison rather than converting the version to a float.