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