From 4db1d21fcc73d37113f99f5fabcd83c5a6ee3288 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Wed, 20 Jun 2012 00:53:26 +0200 Subject: [PATCH] =?UTF-8?q?edition=20de=20r=C3=B4les=20(bis)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cranspasswords.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cranspasswords.py b/cranspasswords.py index a79190c..c5a242f 100755 --- a/cranspasswords.py +++ b/cranspasswords.py @@ -298,6 +298,7 @@ def edit_file(fname): if ntexte == None and not nfile and NROLES == None: print "Pas de modifications effectuées" else: + ntexte = texte if ntexte == None else ntexte if put_password(fname,value['roles'],ntexte): print "Modifications enregistrées" else: