This commit is contained in:
2021-11-20 16:32:24 +00:00
parent b0d635eb04
commit 9b0d0ec42d

View File

@@ -79,9 +79,7 @@ class Config:
if self.skip_header_init: if self.skip_header_init:
config_file_location = self.config_path / "config.yml" config_file_location = self.config_path / "config.yml"
else: else:
config_file_location = ( config_file_location = self.config_path / self.header_variable / "config.yml"
self.config_path / self.header_variable / "config.yml"
)
try: try:
with open(config_file_location, "r", encoding="utf-8") as config_file: with open(config_file_location, "r", encoding="utf-8") as config_file:
# return dict(toml.load(config_file)) # return dict(toml.load(config_file))