Commentaires Tom bis
This commit is contained in:
parent
f48570bdaf
commit
f7ac3313c8
2 changed files with 1 additions and 2 deletions
|
@ -107,7 +107,6 @@ def handle_cas_connection(sender, instance, created, cas_login, attributes, **kw
|
|||
|
||||
year = dirs[2]
|
||||
departement = dirs[3]
|
||||
print(departement, dirs)
|
||||
|
||||
dep = dict(DEPARTEMENTS_DEFAUT).get(departement.lower(), "")
|
||||
|
||||
|
|
|
@ -19,4 +19,4 @@ def approximate_distance(a, b):
|
|||
def is_email_ens(mail, none=False):
|
||||
if mail is None:
|
||||
return none
|
||||
return mail.endswith(".ens.fr") or mail.endswith(".ens.psl.eu")
|
||||
return mail.endswith("ens.fr") or mail.endswith("ens.psl.eu")
|
||||
|
|
Loading…
Reference in a new issue