Merge pull request #1104 from YunoHost/fix-the-fixme

fix the fixme
This commit is contained in:
Alexandre Aubin 2020-12-17 21:23:32 +01:00 committed by GitHub
commit 0888d87745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1204,8 +1204,7 @@ def app_setting(app, key, value=None, delete=False):
# GET
if value is None and not delete:
# FIXME FIXME FIXME : what about the main url ...?
return ','.join(permission['additional_urls']) if permission else None
return ','.join(permission['uris'] + permission['additional_urls']) if permission else None
# DELETE
if delete: