beremiz
Clone
Summary
Browse
Changes
Graph
add button to ForceVariableDialog to toggle forced boolean value
2017-06-21, Andrey Skvortsov
8337f6c169d0
add button to ForceVariableDialog to toggle forced boolean value
Button is added only for boolean variables.
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