Fix verbose episode listings if there's no episode name

This commit is contained in:
rlaphoenix 2023-03-02 16:17:20 +00:00
parent fc3e49baf6
commit f8a8309628
1 changed files with 2 additions and 2 deletions

View File

@ -198,8 +198,8 @@ class Series(SortedKeyList, ABC):
if episode.season == season:
season_tree.add(
f"[bold]{str(episode.number).zfill(len(str(episodes)))}" + (
f".[/] [bright_black]{episode.name}"
) if episode.name else ""
f".[/] [bright_black]{episode.name}" if episode.name else ""
)
)
return tree