beremiz
Clone
Summary
Browse
Changes
Graph
fix problem if _should_write is called by expired timer after
2017-09-08, Andrey Skvortsov
e27d253bd0ba
fix problem if _should_write is called by expired timer after
termination of wx application.
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