fix the fixme

This commit is contained in:
Kay0u 2020-12-11 16:22:29 +01:00
parent aab090fa7c
commit 401778f68e
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

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: