beremiz
Clone
Summary
Browse
Changes
Graph
Fixed bug when adding and removing function block in graphic viewer. In some cases, the associated variable could stay in the variable panel.
2013-10-25, Laurent Bessard
3c55c99b10ab
Fixed bug when adding and removing function block in graphic viewer. In some cases, the associated variable could stay in the variable panel.
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