mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix permission_list
This commit is contained in:
parent
6eab62ceb1
commit
73a6eef6e3
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def user_permission_list(short=False, full=False, ignore_system_perms=False, ful
|
|||
permissions[name]["additional_urls"] = [_get_full_url(url, apps_main_path[name.split('.')[0]]) for url in infos.get("additionalUrls", [None]) if url]
|
||||
else:
|
||||
permissions[name]["url"] = infos.get("URL", [None])[0]
|
||||
permissions[name]["additional_urls"] = infos.get("additionalUrls", [None])
|
||||
permissions[name]["additional_urls"] = infos.get("additionalUrls", [])
|
||||
|
||||
if short:
|
||||
permissions = permissions.keys()
|
||||
|
|
Loading…
Add table
Reference in a new issue