forked from DRMTalks/devine
Fix verbose episode listings if there's no episode name
This commit is contained in:
parent
fc3e49baf6
commit
f8a8309628
|
@ -198,8 +198,8 @@ class Series(SortedKeyList, ABC):
|
||||||
if episode.season == season:
|
if episode.season == season:
|
||||||
season_tree.add(
|
season_tree.add(
|
||||||
f"[bold]{str(episode.number).zfill(len(str(episodes)))}" + (
|
f"[bold]{str(episode.number).zfill(len(str(episodes)))}" + (
|
||||||
f".[/] [bright_black]{episode.name}"
|
f".[/] [bright_black]{episode.name}" if episode.name else ""
|
||||||
) if episode.name else ""
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
return tree
|
return tree
|
||||||
|
|
Loading…
Reference in New Issue