From dab22b8c96d720793fe37ca06b3f048fa4fb9b42 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Tue, 5 Jul 2022 19:36:45 +0200 Subject: [PATCH] fix(config): Remove duplicate Configparser loading --- .../{{ cookiecutter.__project_slug }}.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python-naive/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__project_slug }}.py b/python-naive/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__project_slug }}.py index d16fbe6..1ed8619 100644 --- a/python-naive/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__project_slug }}.py +++ b/python-naive/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__project_slug }}.py @@ -116,7 +116,6 @@ internal_globals = [default["key"] for default in CONST.CFG_KNOWN_DEFAULTS if de internal_empty_ok = [default["key"] for default in CONST.CFG_KNOWN_DEFAULTS if default["empty_ok"]] config = ConfigParser(defaults=internal_defaults, converters={'list': lambda x: [i.strip() for i in x.split(',') if len(x) > 0]}) -config = ConfigParser(defaults=internal_defaults) config.read(CONST.CFG_DEFAULT_ABS_PATH)