diff --git a/gestion/restore.py b/gestion/restore.py index 0a536f41..22ba6cdc 100755 --- a/gestion/restore.py +++ b/gestion/restore.py @@ -13,7 +13,7 @@ import cPickle, sys import config from whos import aff from affich_tools import prompt -from gest_crans import all, set_machine, set_club +from gest_crans import modif_adher, set_machine, modif_club from ldap_crans import mailexist def load(file) : @@ -60,7 +60,7 @@ def restore_adher(adh) : print " il faudra recréer un compte avec un login différent" prompt('Appuyez sur ENTREE pour continuer') adh._data['mail'] = [] - all(adh) + modif_adher(adh) def restore_machine(machine) : try : @@ -76,7 +76,7 @@ def restore_machine(machine) : set_machine(machine) def restore_club(club) : - set_club(club) + modif_club(club) # Restauration ? q = prompt('Restaurer cette entrée ? [O/N]')