diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index dd96265a..59ead557 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2764,7 +2764,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) self._set('prise', []) return - if not re.match('^[a-cg-jmp][0-6][0-5][0-9]$', new.lower()): + if not re.match('^[a-cg-jmopv][0-7][0-5][0-9]$', new.lower()): raise ValueError('Prise incorrecte') self._set('prise', [new.upper()])