Skip to content

Commit c510f5c

Browse files
committed
fix: fix config issue
1 parent 06523e3 commit c510f5c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

M3GraphBuilder/utils.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@ def load_config_from_ini_file():
5959
output_path = os.path.join(app_root_parent, config.get("output", "path"))
6060
log_path = os.path.join(app_root_parent, config.get("logging", "path"))
6161

62-
config_dict["project"] = config.items("project")
62+
config_dict["project"] = {
63+
"name": config.get("project", "name"),
64+
"desc": config.get("project", "desc")
65+
}
6366
config_dict["output"] ={ "path": output_path }
64-
config_dict["logging"] = { "path": log_path, "verbose": config.get("logging", "verbose") }
67+
config_dict["logging"] = {
68+
"path": log_path,
69+
"verbose": config.get("logging", "verbose") }
6570

6671

6772
return config_dict

0 commit comments

Comments
 (0)