beremiz
Clone
Summary
Browse
Changes
Graph
Fix bug when compiling project containing non-ascii characters
2012-12-19, Laurent Bessard
ab43f3e40b9d
Fix bug when compiling project containing non-ascii characters
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