Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ternary operator to remove mypy error
Otherwise we would get this error: ``` error: Function "Callable[[Any, bool, Optional[float]], None]" could always be true in boolean context [truthy-function] ```
- Loading branch information