python3: get real value from .values() (#35425)
This commit is contained in:
parent
00eb57befd
commit
cbb1814087
|
@ -42,7 +42,7 @@ class ProfileCell(JsonCellBase):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def url(self):
|
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')
|
return '{%% load combo %%}%sapi/users/{{ concerned_user|name_id }}/' % idp.get('url')
|
||||||
|
|
||||||
def is_visible(self, user=None):
|
def is_visible(self, user=None):
|
||||||
|
|
Loading…
Reference in New Issue