Skip to content

Commit

Permalink
Add default selector to expression
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroesLament committed Aug 19, 2023
1 parent 6c52120 commit a04084e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FreeTAKServer/core/configuration/MainConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a04084e

Please sign in to comment.