1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-15 10:45:31 +00:00

Fix to prevent manual search to return None instead of an empty json string.

This commit is contained in:
Louis Vézina 2018-11-29 12:55:43 -05:00
parent d5c141f9cf
commit 552cae7483

View file

@ -245,7 +245,7 @@ def manual_search(path, language, hi, providers, providers_auth, sceneName, medi
subtitles_dict = sorted(subtitles_list, key=lambda x: x['score'], reverse=True)
logging.debug('BAZARR ' + str(len(subtitles_dict)) + " subtitles have been found for this file: " + path)
logging.debug('BAZARR Ended searching subtitles for this file: ' + path)
return(subtitles_dict)
return(subtitles_dict)
def manual_download_subtitle(path, language, hi, subtitle, provider, providers_auth, sceneName, media_type):
logging.debug('BAZARR Manually downloading subtitles for this file: ' + path)