fix the paths to copy the config.example.toml file (#425)

This commit is contained in:
Stefan Allius
2025-05-22 21:29:41 +02:00
committed by GitHub
parent bb2250bca1
commit bd88647f0b
3 changed files with 11 additions and 7 deletions

View File

@@ -127,7 +127,8 @@ class Server():
def build_config(self):
# read config file
Config.init(ConfigReadToml(self.src_dir + "cnf/default_config.toml"),
log_path=self.log_path)
log_path=self.log_path,
cnf_path=self.config_path)
ConfigReadEnv()
ConfigReadJson(self.config_path + "config.json")
ConfigReadToml(self.config_path + "config.toml")