diff --git a/src/yunohost/app.py b/src/yunohost/app.py index faa4a1615..6b40b3b55 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1014,7 +1014,7 @@ def _get_app_settings(app_id): settings = yaml.load(f) if app_id == settings['id']: return settings - except (IOError, KeyError): + except (IOError, TypeError, KeyError): logger.exception(m18n.n('app_not_correctly_installed', app=app_id)) return {}