Skip to content

Commit

Permalink
Fix issues on Movies Blacklist API
Browse files Browse the repository at this point in the history
  • Loading branch information
LASER-Yi committed Apr 1, 2021
1 parent 84adea2 commit 26dc355
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bazarr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1603,9 +1603,11 @@ def post(self):
provider = request.form.get('provider')
subs_id = request.form.get('subs_id')
language = request.form.get('language')
# TODO
forced = False
hi = False

data = database.execute("SELECT title, radarrId, provider, subs_id, path"
"timestamp FROM table_movies WHERE radarrId=?", (radarr_id), only_one=True)
data = database.execute("SELECT path FROM table_movies WHERE radarrId=?", (radarr_id,), only_one=True)

media_path = data['path']
subtitles_path = request.form.get('subtitles_path')
Expand Down

0 comments on commit 26dc355

Please sign in to comment.