mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 22:27:17 -04:00
Fixed single blacklist item deletion issue that would remove all the blacklisted subtitles from the same provider at once.
This commit is contained in:
parent
345408d692
commit
c45a2ac43c
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ def blacklist_log_movie(radarr_id, provider, subs_id, language):
|
|||
def blacklist_delete_movie(provider, subs_id):
|
||||
database.execute(
|
||||
delete(TableBlacklistMovie)
|
||||
.where((TableBlacklistMovie.provider == provider) and (TableBlacklistMovie.subs_id == subs_id)))
|
||||
.where((TableBlacklistMovie.provider == provider) & (TableBlacklistMovie.subs_id == subs_id)))
|
||||
event_stream(type='movie-blacklist', action='delete')
|
||||
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ def blacklist_log(sonarr_series_id, sonarr_episode_id, provider, subs_id, langua
|
|||
def blacklist_delete(provider, subs_id):
|
||||
database.execute(
|
||||
delete(TableBlacklist)
|
||||
.where((TableBlacklist.provider == provider) and (TableBlacklist.subs_id == subs_id)))
|
||||
.where((TableBlacklist.provider == provider) & (TableBlacklist.subs_id == subs_id)))
|
||||
event_stream(type='episode-blacklist', action='delete')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue