X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=client.py;h=65b9d4163e917dcfb76523fec402fac2dc605ffc;hb=6c63501246793b99eb7f632b23bdc217bd497dff;hp=3b2f3baead0b55d3b8d4f2b197149d9d4095aef2;hpb=dcba0676080751e1bdfe8ff26577242549191082;p=NK2015_Client_Python_Alpha.git diff --git a/client.py b/client.py index 3b2f3ba..65b9d41 100755 --- a/client.py +++ b/client.py @@ -49,11 +49,11 @@ 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"]') + a.write('login ["toto","plop","bdd",[["all"],["all"],true]]') else: a.write('login ["%s","%s","%s"]'%(user,mdp,typ)) return lit(a)