mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix incorrect send_data call. there is no client variable, and send_data
is a class method. Pyflakes complained about it.
This commit is contained in:
parent
eb77ca80df
commit
ea6567dbf7
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue