From: Vincent Le Gallic Date: Sun, 6 May 2012 21:55:12 +0000 (+0200) Subject: Nouvelle version du login X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=707ff078327ba8cde8f0aea38e9a3307c36eab99;p=NK2015_Client_Python_Alpha.git Nouvelle version du login --- diff --git a/client.py b/client.py index 3b2f3ba..75446e6 100755 --- a/client.py +++ b/client.py @@ -49,9 +49,9 @@ def hello(socket,version): def login(socket,user,mdp="",typ="bdd"): if user in ["20-100","moibdd"]: - a.write('login ["20-100","plop","bdd"]') + a.write('login ["20-100","plop","bdd",[["all"],["all"],true]]') elif user in ["vincent","moi"]: - a.write('login ["vincent","plop","special"]') + a.write('login ["vincent","plop","special",["all"]]') elif user in ["toto"]: a.write('login ["toto","plop","bdd"]') else: