diff --git a/gestion/gen_confs/generate.py b/gestion/gen_confs/generate.py index e9a0a49a..c329943a 100755 --- a/gestion/gen_confs/generate.py +++ b/gestion/gen_confs/generate.py @@ -64,7 +64,7 @@ if gethostname().split(".")[0] == 'zamok': if not login or not home : raise ValueError('Argument invalide') warn = '' - f = config.cimetiere + '/files/' + strftime('%Y-%m-%d-%H:%M_') + login + '.tar.bz2' + f = config.cimetiere + '/files/' + strftime('%Y-%m-%d-%Hh%Mm_') + login + '.tar.bz2' status, output = commands.getstatusoutput("tar cjf '%s' '%s' /var/spool/mail/%s" % ( f,home,login) ) if ( status != 512 and status!=0 ) or not os.path.isfile(f) : # La 512 est si un des paths n'exite pas.