From f0cc860eaf72baa51e3838738cb4b1fa44f610c5 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 4 May 2012 18:27:01 +0200 Subject: [PATCH] =?utf8?q?Mise=20=C3=A0=20jour=20de=20la=20m=C3=A9thode=20?= =?utf8?q?de=20login=20=C3=A0=20NK2015?= 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 cb69a9f..e4426ae 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"]'%(json.dumps(username),json.dumps(password),typ) + commande='login [%s,%s,"%s",[["note"],[],false]]'%(json.dumps(username),json.dumps(password),typ) sock.write(commande) out=sock.read() except Exception as exc: -- 2.39.2