just fixes
This commit is contained in:
parent
4d5381819f
commit
39beaee68b
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
A JSON-RPC backend using HTTP.
|
||||
The Linspector JSON-RPC backend.
|
||||
|
||||
Uses: http://deavid.github.io/bjsonrpc/
|
||||
|
||||
|
|
@ -44,8 +44,7 @@ class JsonrpcBackend(Backend):
|
|||
|
||||
def run(self):
|
||||
while True:
|
||||
s = createserver(host=self.host, port=self.port, handler_factory=ServerHandler)
|
||||
s.serve()
|
||||
server = createserver(host=self.host, port=self.port, handler_factory=ServerHandler).serve()
|
||||
|
||||
|
||||
class ServerHandler(BaseHandler):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue