Skip to content

Commit

Permalink
re-do a change to a comment that is by now inaccurate and improve the…
Browse files Browse the repository at this point in the history
… comment, as well

Signed-off-by: Nicolas Höning <nicolas@seita.nl>
  • Loading branch information
nhoening committed Jun 9, 2023
1 parent e0c6373 commit 78724fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexmeasures/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78724fa

Please sign in to comment.