ajout de la gestion des paramètres pour halform

This commit is contained in:
Maxime Alves LIRMM@home 2020-07-02 23:42:34 +02:00 committed by Maxime Alves LIRMM
parent 37104948ca
commit fb156af905
1 changed files with 1 additions and 0 deletions

View File

@ -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')