beremiz
Clone
Summary
Browse
Changes
Graph
Fix bug when launching Beremiz_service with autostart option and working dir doesn't contain any program
2013-04-15, Laurent Bessard
078bf153fb8c
Fix bug when launching Beremiz_service with autostart option and working dir doesn't contain any program
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