beremiz
Clone
Summary
Browse
Changes
Graph
add application name for PLCOpenEditor
2017-09-16, Andrey Skvortsov
f0600fe03a89
add application name for PLCOpenEditor
This is needed to work user configuration load/store, if PLCOpenEditor
is launched from test environment.
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