From 50ba2668f541c25a3dc78091319f1d50fe3e2c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sun, 7 Feb 2016 20:29:12 +0100 Subject: [PATCH] [fix] Handle empty app settings error when it's not correctly installed --- src/yunohost/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {}