Merge pull request #109 from JohnVeness/seasons

episode.py: season/seasons pluralization
This commit is contained in:
sp4rk.y
2026-05-17 12:03:54 -06:00
committed by GitHub

View File

@@ -160,7 +160,7 @@ class Series(SortedKeyList, ABC):
sum(seasons.values()) sum(seasons.values())
season_breakdown = ", ".join(f"S{season}({count})" for season, count in sorted(seasons.items())) season_breakdown = ", ".join(f"S{season}({count})" for season, count in sorted(seasons.items()))
tree = Tree( tree = Tree(
f"{num_seasons} seasons, {season_breakdown}", f"{num_seasons} season{'s'[:num_seasons^1]}, {season_breakdown}",
guide_style="bright_black", guide_style="bright_black",
) )
if verbose: if verbose: