beremiz
Clone
Summary
Browse
Changes
Graph
Fix bug of PythonIterator signature in PLCObject when not using PythonLibrary
2012-10-25, Edouard Tisserant
7e5da4962bea
Fix bug of PythonIterator signature in PLCObject when not using PythonLibrary
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