beremiz
Clone
Summary
Browse
Changes
Graph
Fixed non initialized timer causing exception in some rare cases (continued)
2014-02-27, Edouard Tisserant
bc14b43bd27f
Fixed non initialized timer causing exception in some rare cases (continued)
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self,func):
self.methods[func.__name__]=func
return func