From 35a3bc3e2dd9112952459d8d238d2c08c0014712 Mon Sep 17 00:00:00 2001 From: Evarin Date: Tue, 19 Jun 2018 19:15:25 +0200 Subject: [PATCH] Small fix to example site --- example/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/adapter.py b/example/adapter.py index b28cfdd..5ad5e10 100644 --- a/example/adapter.py +++ b/example/adapter.py @@ -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'))