Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly convert float to int for startTimer
As of Python3.10: > Builtin and extension functions that take integer arguments no longer accept Decimals, Fractions and other objects that can be converted to integers only with a loss (e.g. that have the int() method but do not have the index() method). (Contributed by Serhiy Storchaka in bpo-37999.) `startTimer` accepts only integers (milliseconds) and fails to implicitly convert floats. Fixes: harvimt#128 Signed-off-by: Stanislav Levin <slev@altlinux.org>
- Loading branch information
ad843f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this solved my issues
thx a lot