mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 06:15:09 -05:00
Fix for issue #942 - Previous code update borked webapi code for show's cmd
This commit is contained in:
parent
31a9d96f6c
commit
1cd91e6cc5
@ -1805,9 +1805,8 @@ class CMD_Show(ApiCall):
|
|||||||
return _responds(RESULT_FAILURE, msg="Show not found")
|
return _responds(RESULT_FAILURE, msg="Show not found")
|
||||||
|
|
||||||
showDict = {}
|
showDict = {}
|
||||||
showDict["season_list"] = \
|
showDict["season_list"] = CMD_ShowSeasonList(self.handler, (), {"indexerid": self.indexerid}).run()["data"]
|
||||||
CMD_ShowSeasonList(self.handler, (), {"indexerid or tvdbid or tvrageid": self.indexerid}).run()["data"]
|
showDict["cache"] = CMD_ShowCache(self.handler, (), {"indexerid": self.indexerid}).run()[
|
||||||
showDict["cache"] = CMD_ShowCache(self.handler, (), {"indexerid or tvdbid or tvrageid": self.indexerid}).run()[
|
|
||||||
"data"]
|
"data"]
|
||||||
|
|
||||||
genreList = []
|
genreList = []
|
||||||
@ -1816,6 +1815,7 @@ class CMD_Show(ApiCall):
|
|||||||
for genre in genreListTmp:
|
for genre in genreListTmp:
|
||||||
if genre:
|
if genre:
|
||||||
genreList.append(genre)
|
genreList.append(genre)
|
||||||
|
|
||||||
showDict["genre"] = genreList
|
showDict["genre"] = genreList
|
||||||
showDict["quality"] = _get_quality_string(showObj.quality)
|
showDict["quality"] = _get_quality_string(showObj.quality)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user