From 33e1a82faee71319d84156d88302b94ca391d395 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 2 Nov 2013 11:32:54 +0100 Subject: [PATCH] fix incorrect send_data call. there is no client variable, and send_data is a class method. Pyflakes complained about it. --- utilities/accelerate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/accelerate b/utilities/accelerate index 38a96caba17..9b79ca36494 100644 --- a/utilities/accelerate +++ b/utilities/accelerate @@ -250,7 +250,7 @@ class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): vv("bad decrypt, skipping...") data2 = json.dumps(dict(rc=1)) data2 = self.server.key.Encrypt(data2) - send_data(client, data2) + self.send_data(data2) return vvvv("loading json from the data")