mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -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")
|
||||
|
||||
showDict = {}
|
||||
showDict["season_list"] = \
|
||||
CMD_ShowSeasonList(self.handler, (), {"indexerid or tvdbid or tvrageid": self.indexerid}).run()["data"]
|
||||
showDict["cache"] = CMD_ShowCache(self.handler, (), {"indexerid or tvdbid or tvrageid": self.indexerid}).run()[
|
||||
showDict["season_list"] = CMD_ShowSeasonList(self.handler, (), {"indexerid": self.indexerid}).run()["data"]
|
||||
showDict["cache"] = CMD_ShowCache(self.handler, (), {"indexerid": self.indexerid}).run()[
|
||||
"data"]
|
||||
|
||||
genreList = []
|
||||
@ -1816,6 +1815,7 @@ class CMD_Show(ApiCall):
|
||||
for genre in genreListTmp:
|
||||
if genre:
|
||||
genreList.append(genre)
|
||||
|
||||
showDict["genre"] = genreList
|
||||
showDict["quality"] = _get_quality_string(showObj.quality)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user