beremiz
Clone
Summary
Browse
Changes
Graph
Fixed bug with function POU when extracting return type
2013-12-05, Laurent Bessard
086f52b2feac
Fixed bug with function POU when extracting return type
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