python3: get real value from .values() (#35425)

This commit is contained in:
Frédéric Péters 2019-08-18 12:20:00 +02:00
parent 00eb57befd
commit cbb1814087
1 changed files with 1 additions and 1 deletions

View File

@ -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):