From fb156af9055edd8867c98465595d0aaa5dda7d14 Mon Sep 17 00:00:00 2001 From: "Maxime Alves LIRMM@home" Date: Thu, 2 Jul 2020 23:42:34 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20de=20la=20gestion=20des=20param=C3=A8tr?= =?UTF-8?q?es=20pour=20halform?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- halfapi/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/halfapi/app.py b/halfapi/app.py index a64c45d..2e8bf46 100644 --- a/halfapi/app.py +++ b/halfapi/app.py @@ -231,6 +231,7 @@ def check_conf(): if not environ.get('HALFORM_SECRET', False): environ['HALFORM_SECRET'] = 'secret' print('Missing HALFORM_SECRET variable from configuration, seting to default') + if not environ.get('HALFORM_DSN', False): print('Missing HALFORM_DSN variable from configuration')