beremiz
Clone
Summary
Browse
Changes
Graph
remove Linux target from first_steps example
2017-01-23, Andrey Skvortsov
ce9fc57e1828
remove Linux target from first_steps example
Then default target on the system will be used.
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