Update get_subtitle.py

This commit is contained in:
drikqlis 2020-09-15 14:21:54 +02:00 committed by GitHub
parent 44d61ea5e6
commit 489e49dfb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -219,16 +219,13 @@ def download_subtitle(path, language, audio_language, hi, forced, providers, pro
audio_language_code2 = alpha2_from_language(audio_language)
audio_language_code3 = alpha3_from_language(audio_language)
downloaded_path = subtitle.storage_path
subtitle_id = subtitle.id
if subtitle.language.hi:
modifier_string = " HI"
elif subtitle.language.forced:
modifier_string = " forced"
else:
modifier_string = ""
logging.debug('BAZARR Subtitles file saved to disk: ' + downloaded_path)
if is_upgrade:
action = "upgraded"