beremiz
Clone
Summary
Browse
Changes
Graph
Fixed bug in support for speed up loading graphic viewers
2013-06-06, Laurent Bessard
9623d591efb9
Fixed bug in support for speed up loading graphic viewers
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