From 9e8763d1d5183b5ecbc895e66ed0cf91ddfde2ed Mon Sep 17 00:00:00 2001 From: Benjamin Harder Date: Thu, 17 Oct 2024 21:59:41 +0200 Subject: [PATCH] Fixes https://github.com/ManiMatter/decluttarr/issues/172 patch --- src/jobs/run_periodic_rescans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobs/run_periodic_rescans.py b/src/jobs/run_periodic_rescans.py index 3c5f18a..a5e0880 100644 --- a/src/jobs/run_periodic_rescans.py +++ b/src/jobs/run_periodic_rescans.py @@ -97,7 +97,7 @@ async def run_periodic_rescans( f">>> Running a scan for {len(records)} {end_point} items:\n" + "\n".join( [ - f"{episode['series']['title']} (Season {episode['seasonNumber']} / Episode {episode['episodeNumber']} / Aired: {episode['airDate']}): {episode['title']}" + f"{episode['series']['title']} (Season {episode['seasonNumber']} / Episode {episode['episodeNumber']} / Aired: {episode.get('airDate', 'Unknown')}): {episode['title']}" for episode in records ] )