]> gitweb.pimeys.fr Git - NK2015_Client_Python_Alpha.git/blobdiff - client.py
Correction du login de toto (masque)
[NK2015_Client_Python_Alpha.git] / client.py
index 3b2f3baead0b55d3b8d4f2b197149d9d4095aef2..65b9d4163e917dcfb76523fec402fac2dc605ffc 100755 (executable)
--- 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)