From: Vincent Le Gallic Date: Fri, 4 May 2012 16:27:01 +0000 (+0200) Subject: Mise à jour de la méthode de login à NK2015 X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=f0cc860eaf72baa51e3838738cb4b1fa44f610c5;p=bots%2Fbasile.git Mise à jour de la méthode de login à NK2015 --- 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: