beremiz

Fixed pulling of PLC status and log count

2013-03-21, Laurent Bessard
72ee7f3e3cf3
Fixed pulling of PLC status and log count
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