From 163ad8ccf26d281485524660b7ad8d09885d66b3 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 4 May 2012 18:27:44 +0200 Subject: [PATCH] =?utf8?q?Mise=20=C3=A0=20jour=20de=20la=20m=C3=A9thode=20?= =?utf8?q?pour=20login=20=C3=A0=20NK2015,=20mais=20en=20correct=20=20(Basi?= =?utf8?q?le=20est=20un=20special=20user)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index e4426ae..562cc65 100755 --- a/basile.py +++ b/basile.py @@ -180,7 +180,7 @@ def login_NK(username,password,typ="bdd"): sock=connect_NK() try: # Basile a un compte special user - commande='login [%s,%s,"%s",[["note"],[],false]]'%(json.dumps(username),json.dumps(password),typ) + commande='login [%s,%s,"%s",["note"]]'%(json.dumps(username),json.dumps(password),typ) sock.write(commande) out=sock.read() except Exception as exc: -- 2.39.2