From a6985fa9bfccecbfc1468103d08da15b410da8a3 Mon Sep 17 00:00:00 2001 From: Maxime Alves LIRMM Date: Tue, 30 Nov 2021 01:50:27 +0100 Subject: [PATCH] =?UTF-8?q?[halfapi]=C2=A0configuration=20globals=20go=20l?= =?UTF-8?q?owercase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- halfapi/halfapi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/halfapi/halfapi.py b/halfapi/halfapi.py index e7409d6..6c3aa6b 100644 --- a/halfapi/halfapi.py +++ b/halfapi/halfapi.py @@ -49,10 +49,10 @@ class HalfAPI: def __init__(self, config, routes_dict=None): config_logging(logging.DEBUG) - SECRET = config.get('SECRET') - PRODUCTION = config.get('PRODUCTION', True) - DOMAINS = config.get('DOMAINS', {}) - CONFIG = config.get('CONFIG', { + SECRET = config.get('secret') + PRODUCTION = config.get('production', True) + DOMAINS = config.get('domains', {}) + CONFIG = config.get('config', { 'domains': DOMAINS })