Small fix to example site

This commit is contained in:
Evarin 2018-06-19 19:15:25 +02:00
parent 08a47150db
commit 35a3bc3e2d

View file

@ -14,4 +14,4 @@ class SocialAccountAdapter(LongTermClipperAccountAdapter):
Exception-free version of get_username, so that it works even outside of
the ENS (if no access to LDAP server)
"""
return "{}@{}".format(clipper, data.get('annee', '00'))
return "{}@{}".format(clipper, data.get('entrance_year', '00'))