Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a dict instead of a str in for yaml_path #628

Closed
dirkkolb opened this issue Sep 20, 2023 · 0 comments
Closed

Getting a dict instead of a str in for yaml_path #628

dirkkolb opened this issue Sep 20, 2023 · 0 comments

Comments

@dirkkolb
Copy link

When not setting the FTS_CONFIG_PATH environment variable, the MainConfig.py tries to get the default path in order to read the YAML. The default path is also defined in MainConfig.py. But it is defined as a dictionary and not as a str. In line 370, a string is expected instead of the dictionary. Thus, the check in line 373 will never work even if the config file is available.

https://github.com/FreeTAKTeam/FreeTakServer/blob/927bbe1a298f07f5d4210bbfc3a5fa91dcc5ff74/FreeTAKServer/core/configuration/MainConfig.py#L370C17-L370C104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant