Skip to content

Commit e7ecc9b

Browse files
committed
fixed FTS yaml handling
1 parent c78e7a4 commit e7ecc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FreeTAKServer/core/configuration/MainConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def instance(cls, config_file=None):
377377

378378
# if config_file not specified, check env or use default location
379379
if config_file == None:
380-
config_file = str(os.environ.get('FTS_CONFIG_PATH', MainConfig._defaults["yaml_path"]))
380+
config_file = str(os.environ.get('FTS_CONFIG_PATH', MainConfig._defaults["yaml_path"]["default"]))
381381

382382
# overlay the yaml config if found
383383
if os.path.exists(config_file):

0 commit comments

Comments
 (0)