From 78724fa47a77e9c1edc501bb4151e3aa2c4f4899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20H=C3=B6ning?= Date: Fri, 9 Jun 2023 16:27:28 +0200 Subject: [PATCH] re-do a change to a comment that is by now inaccurate and improve the comment, as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolas Höning --- flexmeasures/utils/config_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexmeasures/utils/config_utils.py b/flexmeasures/utils/config_utils.py index f6e3e0645..9f929a66f 100644 --- a/flexmeasures/utils/config_utils.py +++ b/flexmeasures/utils/config_utils.py @@ -81,7 +81,7 @@ def read_config(app: Flask, custom_path_to_config: str | None): path_to_config_home = str(Path.home().joinpath(".flexmeasures.cfg")) path_to_config_instance = os.path.join(app.instance_path, "flexmeasures.cfg") - # Custom config: not when testing (that should run completely on defaults) and documentation + # Custom config: do not use any when testing (that should run completely on defaults) if not app.testing: used_path_to_config = read_custom_config( app, custom_path_to_config, path_to_config_home, path_to_config_instance