I was just trying to get the scheduler to schedule things at random frequencies after than 1 time a second.
I don't actually care too much about it being perfect, just a useful library to schedule things.
Would it be possible to replace the logic with a (maxval-minval)*random.random()+minval maybe? I imagine that's what randrange does internally (or something similar). The only concern is this would be changing the behavior from only integer values being output to non integer values.
Hi!
I was just trying to get the scheduler to schedule things at random frequencies after than 1 time a second. I don't actually care too much about it being perfect, just a useful library to schedule things.
This line is making that impossible: https://github.com/dbader/schedule/blob/master/schedule/__init__.py#L715
Would it be possible to replace the logic with a (maxval-minval)*random.random()+minval maybe? I imagine that's what randrange does internally (or something similar). The only concern is this would be changing the behavior from only integer values being output to non integer values.