]> gitweb.pimeys.fr Git - NK2015_Client_Python_Alpha.git/commitdiff
Nouvelle version du login
authorVincent Le Gallic <legallic@crans.org>
Sun, 6 May 2012 21:55:12 +0000 (23:55 +0200)
committerVincent Le Gallic <legallic@crans.org>
Sun, 6 May 2012 21:55:12 +0000 (23:55 +0200)
client.py

index 3b2f3baead0b55d3b8d4f2b197149d9d4095aef2..75446e67dbac7502e473e8edd0b16df95317dfe4 100755 (executable)
--- 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: