mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 17:17:43 +00:00
Merge pull request #37 from JackDandy/feature/FixAPIEpisodeSetStatus
Fix API endpoint Episode.SetStatus to "Wanted".
This commit is contained in:
commit
9a3fcf9920
2 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,8 @@
|
||||||
* Fix Config Post Processing "Anime name pattern" custom javascript validation
|
* Fix Config Post Processing "Anime name pattern" custom javascript validation
|
||||||
* Add check that SSLv3 is available before use by requests lib
|
* Add check that SSLv3 is available before use by requests lib
|
||||||
* Update Requests library 2.3.0 to 2.4.3 (9dc6602)
|
* 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]
|
[develop changelog]
|
||||||
|
|
||||||
|
|
|
@ -985,7 +985,7 @@ class CMD_EpisodeSetStatus(ApiCall):
|
||||||
with epObj.lock:
|
with epObj.lock:
|
||||||
if self.status == WANTED:
|
if self.status == WANTED:
|
||||||
# figure out what episodes are wanted so we can backlog them
|
# 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)
|
segments[epObj.season].append(epObj)
|
||||||
else:
|
else:
|
||||||
segments[epObj.season] = [epObj]
|
segments[epObj.season] = [epObj]
|
||||||
|
|
Loading…
Reference in a new issue