From 704ce8d691bdd2c1ecaef251aafbe0a5533a075e Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Fri, 1 Dec 2023 00:57:15 +0100 Subject: [PATCH] fix logging existing quality/status logging --- sickgear/tv.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sickgear/tv.py b/sickgear/tv.py index 5ecb9776..c3df7072 100644 --- a/sickgear/tv.py +++ b/sickgear/tv.py @@ -3768,9 +3768,8 @@ class TVShow(TVShowBase): return False cur_status, cur_quality = Quality.split_composite_status(int(sql_result[0]['status'])) - ep_status_text = statusStrings[cur_status] - logger.debug('Existing episode status: %s (%s)' % (statusStrings[cur_status], ep_status_text)) + logger.debug(f'Existing episode status: {statusStrings[int(sql_result[0]["status"])]}') # if we know we don't want it then just say no if cur_status in [IGNORED, ARCHIVED] + ([SKIPPED], [])[multi_ep] and not manual_search: