beremiz
Clone
Summary
Browse
Changes
Graph
add python-wxgtk3.0 support to Beremiz_service.py
2016-12-07, Andrey Skvortsov
cdf95900d44f
add python-wxgtk3.0 support to Beremiz_service.py
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