From f164934888ecee3b6a043638319d05a9f1d4ae98 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Thu, 20 Nov 2014 16:37:58 +0000 Subject: [PATCH] Fix API endpoint Episode.SetStatus to "Wanted". --- CHANGES.md | 3 ++- sickbeard/webapi.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c38527ac..d0cd8b76 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -29,7 +29,8 @@ * Fix Config Post Processing "Anime name pattern" custom javascript validation * Add check that SSLv3 is available before use by requests lib * Update Requests library 2.3.0 to 2.4.3 (9dc6602) -* Change suppress HTTPS verification InsecureRequestWarning as many sites use self-certified certificates. +* Change suppress HTTPS verification InsecureRequestWarning as many sites use self-certified certificates +* Fix API endpoint Episode.SetStatus to "Wanted" [develop changelog] diff --git a/sickbeard/webapi.py b/sickbeard/webapi.py index 1f7cedfc..1ee07e60 100644 --- a/sickbeard/webapi.py +++ b/sickbeard/webapi.py @@ -985,7 +985,7 @@ class CMD_EpisodeSetStatus(ApiCall): with epObj.lock: if self.status == WANTED: # figure out what episodes are wanted so we can backlog them - if epObj.season in ep_segment: + if epObj.season in segments: segments[epObj.season].append(epObj) else: segments[epObj.season] = [epObj]