diff options
author | morpheus65535 <[email protected]> | 2021-06-10 14:30:08 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-06-10 14:30:08 -0400 |
commit | 178fc0a2a1985974bfe5e6dcfa7615cbee27fb6f (patch) | |
tree | 7d2ab9c09a42f59b6765ad59ee11fd1f7e58de0c | |
parent | b881a821550d1773546aa7e401aba271048f4d81 (diff) | |
download | bazarr-178fc0a2a1985974bfe5e6dcfa7615cbee27fb6f.tar.gz bazarr-178fc0a2a1985974bfe5e6dcfa7615cbee27fb6f.zip |
Fixed subtitles deletion issue while blacklisting.
-rw-r--r-- | bazarr/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bazarr/api.py b/bazarr/api.py index b3024d29b..585168e67 100644 --- a/bazarr/api.py +++ b/bazarr/api.py @@ -1817,7 +1817,7 @@ class EpisodesBlacklist(Resource): subs_id=subs_id, language=language) delete_subtitles(media_type='series', - language=alpha3_from_alpha2(language), + language=language, forced=False, hi=False, media_path=path_mappings.path_replace(media_path), @@ -1890,7 +1890,7 @@ class MoviesBlacklist(Resource): subs_id=subs_id, language=language) delete_subtitles(media_type='movie', - language=alpha3_from_alpha2(language), + language=language, forced=forced, hi=hi, media_path=path_mappings.path_replace_movie(media_path), |