fname -> filename dans fonction rmfile

This commit is contained in:
Daniel STAN 2015-12-20 20:53:13 +01:00
parent 39db981f90
commit b5c9d0d5ca

View file

@ -242,7 +242,7 @@ def rmfile(filename):
if validate(roles, 'w'):
corps = u"Le fichier %s a été supprimé par %s." % (filename, MYUID)
backup(corps, filename, old)
notification(u"Suppression", fname, MYUID)
notification(u"Suppression", filename, MYUID)
os.remove(getpath(filename))
else:
return u"Vous n'avez pas les droits d'écriture sur le fichier %s." % filename