From cbb181408717a8208a061b67ecc24e3b55aa4afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 18 Aug 2019 12:20:00 +0200 Subject: [PATCH] python3: get real value from .values() (#35425) --- combo/profile/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/profile/models.py b/combo/profile/models.py index 842adfaa..229b0c64 100644 --- a/combo/profile/models.py +++ b/combo/profile/models.py @@ -42,7 +42,7 @@ class ProfileCell(JsonCellBase): @property def url(self): - idp = settings.KNOWN_SERVICES.get('authentic').values()[0] + idp = list(settings.KNOWN_SERVICES.get('authentic').values())[0] return '{%% load combo %%}%sapi/users/{{ concerned_user|name_id }}/' % idp.get('url') def is_visible(self, user=None):