From 1ff4f578d7bb7b0e6805a081e500d9c74f47bd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 3 Apr 2020 22:12:50 +0200 Subject: [PATCH] Fix app_ssowatconf --- src/yunohost/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index afb40d8ed..d72e439bb 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1208,6 +1208,10 @@ def app_ssowatconf(): redirected_regex = {main_domain + '/yunohost[\/]?$': 'https://' + main_domain + '/yunohost/sso/'} redirected_urls = {} + def _get_setting(settings, name): + s = settings.get(name, None) + return s.split(',') if s else [] + for app in _installed_apps(): app_settings = read_yaml(APPS_SETTING_PATH + app + '/settings.yml')