From 23bd876c4c4b2b016823e0bb42928e0da2914ae7 Mon Sep 17 00:00:00 2001 From: Maxime Alves LIRMM Date: Wed, 7 Oct 2020 09:53:21 +0200 Subject: [PATCH] =?UTF-8?q?[conf]=C2=A0fix=20list=20comprehension?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- halfapi/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/halfapi/conf.py b/halfapi/conf.py index 8c811f9..81ad4c5 100644 --- a/halfapi/conf.py +++ b/halfapi/conf.py @@ -100,9 +100,7 @@ def config_dict(): The config object as a dict """ return { - section: { - config.items(section) - } + section: dict(config.items(section)) for section in config.sections() }