Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comparison between set and dictionary (#146)
The check `card_ords == {}` will always evaluate to `False`, even when it is empty. This is because `card_ords` is a set, and `{}` is a dictionary. >>> set() == {} False The intended check was probably something like "card ords is empty", which can be expressed as `if not card_ords`.
- Loading branch information