Retour du JSON uniquement
This commit is contained in:
parent
395c352100
commit
a0996112fc
@ -96,8 +96,7 @@ try:
|
|||||||
data = sock_tcp.recv(2048)
|
data = sock_tcp.recv(2048)
|
||||||
sock_tcp.close()
|
sock_tcp.close()
|
||||||
|
|
||||||
print "Sent: ", cmd
|
print decrypt(data[4:])
|
||||||
print "Received: ", decrypt(data[4:])
|
|
||||||
except socket.error:
|
except socket.error:
|
||||||
quit("Cound not connect to host " + ip + ":" + str(port))
|
quit("Cound not connect to host " + ip + ":" + str(port))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user