mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix my mess
This commit is contained in:
parent
dfeb05a8eb
commit
4f1ea2405d
1 changed files with 1 additions and 1 deletions
|
@ -1204,7 +1204,7 @@ def app_setting(app, key, value=None, delete=False):
|
|||
|
||||
# GET
|
||||
if value is None and not delete:
|
||||
return ','.join(permission['uris'] + permission['additional_urls']) if permission else None
|
||||
return ','.join(permission.get('uris', []) + permission['additional_urls']) if permission else None
|
||||
|
||||
# DELETE
|
||||
if delete:
|
||||
|
|
Loading…
Add table
Reference in a new issue