From a04084e0417ad821d6a201a340bf84ab794c1104 Mon Sep 17 00:00:00 2001 From: HeroesLament Date: Fri, 18 Aug 2023 17:14:10 -0800 Subject: [PATCH] Add default selector to expression --- FreeTAKServer/core/configuration/MainConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FreeTAKServer/core/configuration/MainConfig.py b/FreeTAKServer/core/configuration/MainConfig.py index a9397632..4acb1c32 100644 --- a/FreeTAKServer/core/configuration/MainConfig.py +++ b/FreeTAKServer/core/configuration/MainConfig.py @@ -377,7 +377,7 @@ def instance(cls, config_file=None): # if config_file not specified, check env or use default location if config_file == None: - config_file = str(os.environ.get('FTS_CONFIG_PATH', MainConfig._defaults["yaml_path"])) + config_file = str(os.environ.get('FTS_CONFIG_PATH', MainConfig._defaults["yaml_path"]["default"])) # overlay the yaml config if found if os.path.exists(config_file):