beremiz
Clone
Summary
Browse
Changes
Graph
Fix bug with refresh PLC status tool bar
2013-01-30, Laurent Bessard
aa136ef12506
Fix bug with refresh PLC status tool bar
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