From 48664c9de56a200b8c6c02a9012f7f0244ecd2f9 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Wed, 13 Dec 2023 21:14:59 +0100 Subject: [PATCH] fix missing parameter for torrent search caused by new _pick_best_result_helper helper --- sickgear/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickgear/search.py b/sickgear/search.py index c9c4524c..a591ac84 100644 --- a/sickgear/search.py +++ b/sickgear/search.py @@ -797,7 +797,7 @@ def cache_torrent_file( if search_result.provider.get_id() in ['tvchaosuk'] \ and hasattr(search_result.provider, 'regulate_cache_torrent_file'): torrent_name = search_result.provider.regulate_cache_torrent_file(torrent_name) - if not _pick_best_result_helper([search_result], **kwargs) or \ + if not _pick_best_result_helper([search_result], show_obj=show_obj, **kwargs) or \ not show_name_helpers.pass_wordlist_checks(torrent_name, indexer_lookup=False, show_obj=show_obj): logger.log(f'Ignored {result_name} that contains {torrent_name} (debug log has detail)') return