From 069ab9cc666e0e3717d7067090fb5856ee3d1245 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Sat, 20 Sep 2014 15:23:50 +0200 Subject: [PATCH] =?UTF-8?q?reset=5Fpass:=20c'est=20mieux=20de=20save()=20?= =?UTF-8?q?=C3=A0=20la=20fin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client.py b/client.py index f537d0a..0bbf28a 100644 --- a/client.py +++ b/client.py @@ -51,6 +51,7 @@ class Ticket(object): try: value = gen_password() adh['userPassword'] = [crans_utils.hash_password(value).decode('ascii')] + adh.save() except EnvironmentError: print("Impossible de changer le mot de passe de %s" % login) exit(2)