Commit ea6567db by Michael Scherer

fix incorrect send_data call. there is no client variable, and send_data

is a class method. Pyflakes complained about it.
parent eb77ca80
...@@ -250,7 +250,7 @@ class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): ...@@ -250,7 +250,7 @@ class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler):
vv("bad decrypt, skipping...") vv("bad decrypt, skipping...")
data2 = json.dumps(dict(rc=1)) data2 = json.dumps(dict(rc=1))
data2 = self.server.key.Encrypt(data2) data2 = self.server.key.Encrypt(data2)
send_data(client, data2) self.send_data(data2)
return return
vvvv("loading json from the data") vvvv("loading json from the data")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment