1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

webserve.py has no attribute 'MainHandler'

MainHandler was renamed to WebHandler
This commit is contained in:
Michael Pauley 2014-12-07 13:36:29 -05:00
parent e2be96542d
commit 890b56aed6

View File

@ -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