beremiz
Clone
Summary
Browse
Changes
Graph
Fix bug debug variables from standard and library function blocks unregistered when transferring program
2012-11-15, Laurent Bessard
ace92afe9100
Fix bug debug variables from standard and library function blocks unregistered when transferring program
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