]> gitweb.pimeys.fr Git - NK2015_Client_Python_Alpha.git/commitdiff
Encore un masque oubliƩ
authorVincent Le Gallic <legallic@crans.org>
Tue, 12 Jun 2012 06:43:32 +0000 (08:43 +0200)
committerVincent Le Gallic <legallic@crans.org>
Tue, 12 Jun 2012 06:43:32 +0000 (08:43 +0200)
client.py

index 65b9d4163e917dcfb76523fec402fac2dc605ffc..42668ec003257cf062d25ec94d5139bfbde97dac 100755 (executable)
--- a/client.py
+++ b/client.py
@@ -55,7 +55,7 @@ def login(socket,user,mdp="",typ="bdd"):
     elif user in ["toto"]:
         a.write('login ["toto","plop","bdd",[["all"],["all"],true]]')
     else:
-        a.write('login ["%s","%s","%s"]'%(user,mdp,typ))
+        a.write('login ["%s","%s","%s",[["all"],["all"],true]]'%(user,mdp,typ))
     return lit(a)
     
 def search(socket,term):