mirror of https://github.com/morpheus65535/bazarr
Fix for #1253.
This commit is contained in:
parent
6564ce62f2
commit
40c92bc89d
|
@ -1330,16 +1330,16 @@ def upgrade_subtitles():
|
|||
if not providers:
|
||||
logging.info("BAZARR All providers are throttled")
|
||||
return
|
||||
if episode['language'].endswith('forced'):
|
||||
language = episode['language'].split(':')[0]
|
||||
if movie['language'].endswith('forced'):
|
||||
language = movie['language'].split(':')[0]
|
||||
is_forced = True
|
||||
is_hi = False
|
||||
elif episode['language'].endswith('hi'):
|
||||
language = episode['language'].split(':')[0]
|
||||
elif movie['language'].endswith('hi'):
|
||||
language = movie['language'].split(':')[0]
|
||||
is_forced = False
|
||||
is_hi = True
|
||||
else:
|
||||
language = episode['language'].split(':')[0]
|
||||
language = movie['language'].split(':')[0]
|
||||
is_forced = False
|
||||
is_hi = False
|
||||
|
||||
|
|
Loading…
Reference in New Issue