diff --git a/gestion/gen_confs/exemptions.py b/gestion/gen_confs/exemptions.py index 247d41be..49f9898f 100755 --- a/gestion/gen_confs/exemptions.py +++ b/gestion/gen_confs/exemptions.py @@ -31,7 +31,7 @@ class exemptions(gen_config) : machines = crans_ldap().search('exempt=*')['machine'] - pgsql = PgSQL.connect(host='rouge.adm.crans.org', database='filtrage', user='crans') + pgsql = PgSQL.connect(host='/var/run/postgresql', database='filtrage', user='crans') curseur = pgsql.cursor() requete="DELETE FROM exemptes"