mirror of https://github.com/morpheus65535/bazarr
Fix for unknown language
This commit is contained in:
parent
98b1400863
commit
0af655398d
|
@ -78,7 +78,7 @@ def store_subtitles(original_path, reversed_path):
|
|||
logging.debug("BAZARR external subtitles detected: " + "pb:forced")
|
||||
actual_subtitles.append(
|
||||
[str("pb:forced"), path_mappings.path_replace_reverse(subtitle_path)])
|
||||
elif not language.basename:
|
||||
elif not language:
|
||||
continue
|
||||
elif str(language.basename) != 'und':
|
||||
logging.debug("BAZARR external subtitles detected: " + str(language.basename))
|
||||
|
|
Loading…
Reference in New Issue