beremiz
Clone
Summary
Browse
Changes
Graph
Fixed error when stopping PLC with wxglade HMI
2013-04-24, Edouard Tisserant
b0ac30ba7eaf
Fixed error when stopping PLC with wxglade HMI
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