From 88c35e57cf6956424a26c82f148e5df14847d2dc Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 28 Jul 2023 09:35:56 +0700 Subject: [PATCH] fix typing --- app/src/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/series.py b/app/src/series.py index 74b4478..0cc01f3 100644 --- a/app/src/series.py +++ b/app/src/series.py @@ -165,7 +165,7 @@ class Show: """get ta channel metadata""" episodes: list[JFEpisode] = self._get_all_episodes(limit=1) if not episodes: - return + return None episode: JFEpisode = episodes[0] youtube_id: str = os.path.split(episode["Path"])[-1][9:20] path = f"/video/{youtube_id}"