From 8021e49442ea00e7ebb39ea4b6e9e5bccdd639a4 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sun, 8 Feb 2015 22:47:13 +0100 Subject: [PATCH] Lazy function --- client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client.py b/client.py index 610d123..6f5d83e 100755 --- a/client.py +++ b/client.py @@ -97,6 +97,11 @@ def lit(socket): except ssl.SSLError: print "Rien à lire" +def do(stuff): + """Dirty, 'cause I'm lazy.""" + global a + a.write(json.dumps(stuff)) + if __name__=="__main__": where=raw_input("quel serveur ?") #port=int(raw_input("port ? ")) -- 2.39.2