beremiz
Clone
Summary
Browse
Changes
Graph
close branch #2476 - URI dialog fixed
#2476
2018-05-17, Edouard Tisserant
00faf9279dc0
close branch #2476 - URI dialog fixed
# pylint: disable=undefined-variable
from __future__ import absolute_import
from svgui.pyjs.jsonrpc.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