get_subtitle: remove unused hi var

pull/292/head
panni 6 years ago
parent 1f485d0aa7
commit 912fa4b612

@ -362,10 +362,7 @@ def manual_search(path, language, hi, providers, providers_auth, sceneName, titl
def manual_download_subtitle(path, language, hi, subtitle, provider, providers_auth, sceneName, title, media_type): def manual_download_subtitle(path, language, hi, subtitle, provider, providers_auth, sceneName, title, media_type):
logging.debug('BAZARR Manually downloading subtitles for this file: ' + path) logging.debug('BAZARR Manually downloading subtitles for this file: ' + path)
if hi == "True":
hi = True
else:
hi = False
subtitle = pickle.loads(codecs.decode(subtitle.encode(), "base64")) subtitle = pickle.loads(codecs.decode(subtitle.encode(), "base64"))
use_scenename = get_general_settings()[9] use_scenename = get_general_settings()[9]
use_postprocessing = get_general_settings()[10] use_postprocessing = get_general_settings()[10]

Loading…
Cancel
Save