beremiz
Clone
Summary
Browse
Changes
Graph
WebInterface: better wording for wiping PLC content: "Repair"
mc9_backport_2
2020-12-21, Edouard Tisserant
d993825e3dc0
WebInterface: better wording for wiping PLC content: "Repair"
# 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