Commit 4db1d21f authored by Daniel STAN's avatar Daniel STAN
Browse files

edition de rôles (bis)

parent c777beba
...@@ -298,6 +298,7 @@ def edit_file(fname): ...@@ -298,6 +298,7 @@ def edit_file(fname):
if ntexte == None and not nfile and NROLES == None: if ntexte == None and not nfile and NROLES == None:
print "Pas de modifications effectuées" print "Pas de modifications effectuées"
else: else:
ntexte = texte if ntexte == None else ntexte
if put_password(fname,value['roles'],ntexte): if put_password(fname,value['roles'],ntexte):
print "Modifications enregistrées" print "Modifications enregistrées"
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment