mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
Fix for #633
This commit is contained in:
parent
c9b62a5652
commit
dd41a30ab1
1 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,8 @@ def store_subtitles(file):
|
|||
logging.debug("BAZARR external subtitles detected: " + "pb:forced")
|
||||
actual_subtitles.append(
|
||||
[str("pb:forced"), path_replace_reverse(subtitle_path)])
|
||||
|
||||
elif not language:
|
||||
continue
|
||||
elif str(language) != 'und':
|
||||
logging.debug("BAZARR external subtitles detected: " + str(language))
|
||||
actual_subtitles.append(
|
||||
|
@ -172,6 +173,8 @@ def store_subtitles_movie(file):
|
|||
actual_subtitles.append(
|
||||
[str("pb:forced"),
|
||||
path_replace_reverse_movie(os.path.join(os.path.dirname(file), dest_folder, subtitle))])
|
||||
elif not language:
|
||||
continue
|
||||
elif str(language) != 'und':
|
||||
logging.debug("BAZARR external subtitles detected: " + str(language))
|
||||
actual_subtitles.append(
|
||||
|
|
Loading…
Reference in a new issue