mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-25 06:15:04 +00:00
fix missing parameter for torrent search caused by new _pick_best_result_helper helper
This commit is contained in:
parent
1715eaf21b
commit
48664c9de5
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ def cache_torrent_file(
|
||||||
if search_result.provider.get_id() in ['tvchaosuk'] \
|
if search_result.provider.get_id() in ['tvchaosuk'] \
|
||||||
and hasattr(search_result.provider, 'regulate_cache_torrent_file'):
|
and hasattr(search_result.provider, 'regulate_cache_torrent_file'):
|
||||||
torrent_name = search_result.provider.regulate_cache_torrent_file(torrent_name)
|
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):
|
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)')
|
logger.log(f'Ignored {result_name} that contains {torrent_name} (debug log has detail)')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue