mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] uses app_list installed option instead
This commit is contained in:
parent
3bcbe1941a
commit
14387c43eb
1 changed files with 25 additions and 26 deletions
|
@ -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'):
|
||||
|
|
Loading…
Add table
Reference in a new issue