mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +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
|
||||
* 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]
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue