From 9fd92669fd83e2ac4c57874aad0996ea2d0964f9 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Tue, 14 Aug 2012 04:55:44 +0200 Subject: [PATCH] =?utf8?q?[Compatibilit=C3=A9=20serveur=20NK]=20Le=20masqu?= =?utf8?q?e=20contient=20maintenant=20les=20droits=20qu'on=20ne=20veut=20*?= =?utf8?q?pas*?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- basile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basile.py b/basile.py index fd53a89..610a346 100755 --- a/basile.py +++ b/basile.py @@ -92,9 +92,9 @@ def connect_NK(): def login_NK(username,password,typ="bdd"): sock=connect_NK() if typ=="special": # ça c'est pour Basile lui-même - masque='["note"]' + masque='[]' elif typ=="bdd": - masque='[["all"],["all"],false]' + masque='[[], [], true]' try: # Basile a un compte special user commande='login [%s,%s,"%s",%s]'%(json.dumps(username),json.dumps(password),typ,masque) -- 2.39.2