From f8a830962882c4a7f500a17c1a75803381a83745 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Thu, 2 Mar 2023 16:17:20 +0000 Subject: [PATCH] Fix verbose episode listings if there's no episode name --- devine/core/titles/episode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devine/core/titles/episode.py b/devine/core/titles/episode.py index 4ed4a4c..56c75ba 100644 --- a/devine/core/titles/episode.py +++ b/devine/core/titles/episode.py @@ -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