mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-08 11:03:38 +00:00
Fix for showPoster() api calls
This commit is contained in:
parent
e202cbc0ac
commit
bd582d18d0
1 changed files with 2 additions and 2 deletions
|
@ -2103,7 +2103,7 @@ class CMD_ShowGetPoster(ApiCall):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
""" get the poster for a show in sickbeard """
|
""" get the poster for a show in sickbeard """
|
||||||
return {'outputType': 'image', 'image': webserve.IndexHandler.showPoster(self.indexerid, 'poster')}
|
return {'outputType': 'image', 'image': webserve.IndexHandler(self.application, self.request).showPoster(self.indexerid, 'poster')}
|
||||||
|
|
||||||
|
|
||||||
class CMD_ShowGetBanner(ApiCall):
|
class CMD_ShowGetBanner(ApiCall):
|
||||||
|
@ -2121,7 +2121,7 @@ class CMD_ShowGetBanner(ApiCall):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
""" get the banner for a show in sickbeard """
|
""" get the banner for a show in sickbeard """
|
||||||
return {'outputType': 'image', 'image': webserve.IndexHandler.showPoster(self.indexerid, 'banner')}
|
return {'outputType': 'image', 'image': webserve.IndexHandler(self.application, self.request).showPoster(self.indexerid, 'banner')}
|
||||||
|
|
||||||
|
|
||||||
class CMD_ShowPause(ApiCall):
|
class CMD_ShowPause(ApiCall):
|
||||||
|
|
Loading…
Reference in a new issue