Skip to content

Commit

Permalink
Remove trait name as a requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
rafelafrance committed Apr 17, 2024
1 parent 400d81a commit cacc929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flora/pylib/rules/count.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def count_match(cls, ent): # noqa: C901 PLR0912
suffix.append(token.lower_)

elif token._.trait and token._.flag == "part":
part_trait = token._.trait.trait
part_trait = token._.trait._trait
kwargs["per_part"] = getattr(token._.trait, part_trait)

elif token._.term == "per_count":
Expand Down

0 comments on commit cacc929

Please sign in to comment.