aboutsummaryrefslogtreecommitdiff
path: root/src/ee/supplier
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/supplier')
-rw-r--r--src/ee/supplier/seeed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ee/supplier/seeed.py b/src/ee/supplier/seeed.py
index 1982f68..573c4b5 100644
--- a/src/ee/supplier/seeed.py
+++ b/src/ee/supplier/seeed.py
@@ -149,5 +149,5 @@ def download_opl(out_path: Path, cache_dir: Path, opl_type: str):
def init_project(project):
opls = ["SEEED", "HQCHIP"]
- project.cfg.add_section("seeed-opl")
- project.cfg["seeed-opl"]["opls"] = ", ".join(opls)
+ section = project.get_or_create_section("seeed-opl")
+ section["opls"] = ", ".join(opls)