mirror of https://github.com/morpheus65535/bazarr
update subliminal_patch
This commit is contained in:
parent
83dfb18ccb
commit
c630cdda3d
|
@ -600,7 +600,7 @@ def _search_external_subtitles(path, languages=None, only_one=False, scandir_gen
|
||||||
logger.error('Cannot parse language code %r', language_code)
|
logger.error('Cannot parse language code %r', language_code)
|
||||||
language = None
|
language = None
|
||||||
|
|
||||||
if not language and only_one:
|
elif not language_code and only_one:
|
||||||
language = Language.rebuild(list(languages)[0], forced=forced)
|
language = Language.rebuild(list(languages)[0], forced=forced)
|
||||||
|
|
||||||
subtitles[p] = language
|
subtitles[p] = language
|
||||||
|
|
Loading…
Reference in New Issue