[mod] uses app_list installed option instead

This commit is contained in:
Laurent Peuch 2018-07-09 14:08:28 +02:00
parent 3bcbe1941a
commit 14387c43eb

View file

@ -1284,7 +1284,7 @@ def app_ssowatconf(auth):
redirected_urls = {}
try:
apps_list = app_list()['apps']
apps_list = app_list(installed=True)['apps']
except:
apps_list = []
@ -1293,7 +1293,6 @@ def app_ssowatconf(auth):
return s.split(',') if s else []
for app in apps_list:
if _is_installed(app['id']):
with open(APPS_SETTING_PATH + app['id'] + '/settings.yml') as f:
app_settings = yaml.load(f)
for item in _get_setting(app_settings, 'skipped_uris'):