mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Merge pull request #1039 from mdpauley/develop
webserve.py has no attribute 'MainHandler'
This commit is contained in:
commit
72f46bc6a0
@ -67,7 +67,7 @@ result_type_map = {RESULT_SUCCESS: "success",
|
|||||||
}
|
}
|
||||||
# basically everything except RESULT_SUCCESS / success is bad
|
# basically everything except RESULT_SUCCESS / success is bad
|
||||||
|
|
||||||
class Api(webserve.MainHandler):
|
class Api(webserve.WebHandler):
|
||||||
""" api class that returns json results """
|
""" api class that returns json results """
|
||||||
version = 4 # use an int since float-point is unpredictible
|
version = 4 # use an int since float-point is unpredictible
|
||||||
intent = 4
|
intent = 4
|
||||||
@ -2311,7 +2311,7 @@ class CMD_ShowDelete(ApiCall):
|
|||||||
if sickbeard.USE_TRAKT and sickbeard.TRAKT_SYNC:
|
if sickbeard.USE_TRAKT and sickbeard.TRAKT_SYNC:
|
||||||
# remove show from trakt.tv library
|
# remove show from trakt.tv library
|
||||||
sickbeard.traktCheckerScheduler.action.removeShowFromTraktLibrary(showObj)
|
sickbeard.traktCheckerScheduler.action.removeShowFromTraktLibrary(showObj)
|
||||||
|
|
||||||
showObj.deleteShow(bool(self.removefiles))
|
showObj.deleteShow(bool(self.removefiles))
|
||||||
|
|
||||||
return _responds(RESULT_SUCCESS, msg=str(showObj.name) + " has been deleted")
|
return _responds(RESULT_SUCCESS, msg=str(showObj.name) + " has been deleted")
|
||||||
|
Loading…
Reference in New Issue
Block a user